diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-12-10 22:32:50 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-12-10 22:32:50 +0000 |
commit | a26e3caf952e4ffaa1829a1b8b3e56da2a419fa2 (patch) | |
tree | 7375c3c5f2acfe87bfddbb241256165735ee5a8a /modules/KDE4Macros.cmake | |
parent | 307aeed35325a96f2fe29bdb0bdce18172818e9c (diff) | |
download | extra-cmake-modules-a26e3caf952e4ffaa1829a1b8b3e56da2a419fa2.tar.gz extra-cmake-modules-a26e3caf952e4ffaa1829a1b8b3e56da2a419fa2.tar.bz2 |
-add option KDE4_USE_ALWAYS_FULL_RPATH (disabled by default): if enabled, everything (also libs and plugins) will be linked with full RPATH
Alex
svn path=/trunk/KDE/kdelibs/; revision=612333
Diffstat (limited to 'modules/KDE4Macros.cmake')
-rw-r--r-- | modules/KDE4Macros.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 1e3f75cf..b65c9568 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -409,9 +409,9 @@ endmacro (KDE4_CREATE_FINAL_FILES) # If RPATH is not explicitely disabled, libraries and plugins are built without RPATH, in # 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) + if (NOT CMAKE_SKIP_RPATH AND NOT KDE4_USE_ALWAYS_FULL_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) + endif (NOT CMAKE_SKIP_RPATH AND NOT KDE4_USE_ALWAYS_FULL_RPATH) endmacro (KDE4_HANDLE_RPATH_FOR_LIBRARY) # This macro sets the RPATH related options for executables |