]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Bugfix: Add an INSTALL_NAME_DIR target property to avoid the use of DYLD_LIBRA...
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Mar 2013 12:48:08 +0000 (12:48 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Mar 2013 12:48:08 +0000 (12:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@29038 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/CMakeLists.txt

index e17d345f25431faaa7359dc820c013ac15bb8632..a1c5e0ed7a71de79a60ef6a6df214cb7c5ab35fc 100644 (file)
@@ -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}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.