Blob Blame History Raw
diff -rupN --no-dereference netgen-6.2.2007/CMakeLists.txt netgen-6.2.2007-new/CMakeLists.txt
--- netgen-6.2.2007/CMakeLists.txt	2020-07-23 23:12:18.212198645 +0200
+++ netgen-6.2.2007-new/CMakeLists.txt	2020-07-23 23:12:18.261198668 +0200
@@ -50,14 +50,14 @@ if(INSTALL_DIR)
   set(INSTALL_DIR_DEFAULT ${INSTALL_DIR})
 endif(INSTALL_DIR)
 
-if(UNIX)
-  message("Checking for write permissions in install directory...")
-  execute_process(COMMAND mkdir -p ${CMAKE_INSTALL_PREFIX})
-  execute_process(COMMAND test -w ${CMAKE_INSTALL_PREFIX} RESULT_VARIABLE res)
-  if(res)
-    message(WARNING "No write access at install directory, please set correct permissions")
-  endif()
-endif(UNIX)
+#if(UNIX)
+#  message("Checking for write permissions in install directory...")
+#  execute_process(COMMAND mkdir -p ${CMAKE_INSTALL_PREFIX})
+#  execute_process(COMMAND test -w ${CMAKE_INSTALL_PREFIX} RESULT_VARIABLE res)
+#  if(res)
+#    message(WARNING "No write access at install directory, please set correct permissions")
+#  endif()
+#endif(UNIX)
 
 if (USE_SUPERBUILD)
   project (SUPERBUILD)