From dce9e393640e5718d0e1d51b9ff11fe84449427a Mon Sep 17 00:00:00 2001 From: maier Date: Tue, 26 Mar 2013 12:48:08 +0000 Subject: [PATCH] CMake: Bugfix: Add an INSTALL_NAME_DIR target property to avoid the use of DYLD_LIBRARY_PATH on Mac OS X git-svn-id: https://svn.dealii.org/trunk@29038 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/deal.II/source/CMakeLists.txt b/deal.II/source/CMakeLists.txt index e17d345f25..a1c5e0ed7a 100644 --- a/deal.II/source/CMakeLists.txt +++ b/deal.II/source/CMakeLists.txt @@ -70,6 +70,7 @@ FOREACH(build ${DEAL_II_BUILD_TYPES}) LINK_FLAGS "${DEAL_II_SHARED_LINKER_FLAGS_${build}}" COMPILE_DEFINITIONS "${DEAL_II_DEFINITIONS};${DEAL_II_DEFINITIONS_${build}}" COMPILE_FLAGS "${DEAL_II_CXX_FLAGS_${build}}" + INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${DEAL_II_LIBRARY_RELDIR}" ) TARGET_LINK_LIBRARIES(${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX} -- 2.39.5