aboutsummaryrefslogtreecommitdiff
path: root/modules/KDE4Macros.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-11-27 23:11:49 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-11-27 23:11:49 +0000
commit93896ee1abdb312b7cb9826b9af0c9f617572a62 (patch)
tree5eacf02dfbc89fdee9945153c4fbb80ede832602 /modules/KDE4Macros.cmake
parentb720757027cc164e6f3cf137d4dae1a3c8575c4f (diff)
downloadextra-cmake-modules-93896ee1abdb312b7cb9826b9af0c9f617572a62.tar.gz
extra-cmake-modules-93896ee1abdb312b7cb9826b9af0c9f617572a62.tar.bz2
-modify RPATH behaviour for libraries so that they work as expected (...although it might not be correct expectations...)
this changed with cmake 2.4.3, where INSTALL_RPATH_USE_LINK_PATH was introduced -add docs for BIN_INSTALL_DIR and SBIN_INSTALL_DIR Alex svn path=/trunk/KDE/kdelibs/; revision=608580
Diffstat (limited to 'modules/KDE4Macros.cmake')
-rw-r--r--modules/KDE4Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake
index 688393bc..1e3f75cf 100644
--- a/modules/KDE4Macros.cmake
+++ b/modules/KDE4Macros.cmake
@@ -410,7 +410,7 @@ endmacro (KDE4_CREATE_FINAL_FILES)
# the hope that the RPATH which is compiled into the executable is good enough.
macro (KDE4_HANDLE_RPATH_FOR_LIBRARY _target_NAME)
if (NOT CMAKE_SKIP_RPATH)
- set_target_properties(${_target_NAME} PROPERTIES SKIP_BUILD_RPATH TRUE BUILD_WITH_INSTALL_RPATH TRUE INSTALL_RPATH "")
+ set_target_properties(${_target_NAME} PROPERTIES INSTALL_RPATH_USE_LINK_PATH FALSE SKIP_BUILD_RPATH TRUE BUILD_WITH_INSTALL_RPATH TRUE INSTALL_RPATH "")
endif (NOT CMAKE_SKIP_RPATH)
endmacro (KDE4_HANDLE_RPATH_FOR_LIBRARY)