From: dbcache Date: Wed, 4 Jul 2012 16:46:37 +0000 (+0200) Subject: option to set the RPATH to 3rd party libs X-Git-Tag: v1.3.0~20 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=63a71bb4fe3c92f2fbf5eb4f194de433626a8a33;p=clitk.git option to set the RPATH to 3rd party libs --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c65b28..0d4027d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,8 @@ IF(NOT DEFINED CLITK_SOURCE_DIR) ENDIF(NOT DEFINED CLITK_SOURCE_DIR) #========================================================= +SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) + #========================================================= INCLUDE(${CLITK_SOURCE_DIR}/cmake/common.cmake) INCLUDE(${CLITK_SOURCE_DIR}/cmake/dependencies.cmake)