From 63a71bb4fe3c92f2fbf5eb4f194de433626a8a33 Mon Sep 17 00:00:00 2001 From: dbcache Date: Wed, 4 Jul 2012 18:46:37 +0200 Subject: [PATCH] option to set the RPATH to 3rd party libs --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.47.1