diff --git a/HySoP/src/CMakeLists.txt b/HySoP/src/CMakeLists.txt index 5905834e066c65218b77da5419e6e0caec79cf30..560d0c9921c908979225c3c9ccdd5abba5f7cdca 100644 --- a/HySoP/src/CMakeLists.txt +++ b/HySoP/src/CMakeLists.txt @@ -97,8 +97,6 @@ if(WITH_FFTW) endforeach() set(FFTWLIB ${dirlist} CACHE PATH "fftw libraries dir") endif() -display(FFTWLIB) - # ============= Generates ParmesConfig.hpp ============= # The file PARMES_LIBRARY_NAME_defines.hpp will be generated from config.hpp.cmake; @@ -198,23 +196,23 @@ else() endif() -# do not skip the full RPATH for the build tree -set(CMAKE_SKIP_BUILD_RPATH FALSE) -# when building, don't use the install RPATH already -# (but later on when installing) -set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) -# the RPATH to be used when installing -set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") -#set(CMAKE_INSTALL_RPATH "") -# add the automatically determined parts of the RPATH -# which point to directories outside the build tree to the install RPATH -SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) +# # do not skip the full RPATH for the build tree +# set(CMAKE_SKIP_BUILD_RPATH FALSE) +# # when building, don't use the install RPATH already +# # (but later on when installing) +# set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) +# # the RPATH to be used when installing +# set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") +# #set(CMAKE_INSTALL_RPATH "") +# # add the automatically determined parts of the RPATH +# # which point to directories outside the build tree to the install RPATH +# SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) # the RPATH to be used when installing, but only if it's not a system directory -LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir) -IF("${isSystemDir}" STREQUAL "-1") - SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") -ENDIF("${isSystemDir}" STREQUAL "-1") +# LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir) +# IF("${isSystemDir}" STREQUAL "-1") +# SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") +# ENDIF("${isSystemDir}" STREQUAL "-1") # ============== Add tests ============== if(WITH_TESTS)