aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4Internal.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-12-10 22:32:50 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-12-10 22:32:50 +0000
commita26e3caf952e4ffaa1829a1b8b3e56da2a419fa2 (patch)
tree7375c3c5f2acfe87bfddbb241256165735ee5a8a /modules/FindKDE4Internal.cmake
parent307aeed35325a96f2fe29bdb0bdce18172818e9c (diff)
downloadextra-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/FindKDE4Internal.cmake')
-rw-r--r--modules/FindKDE4Internal.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index 014f092b..2bc441d0 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -565,6 +565,8 @@ endif (WIN32)
# also use /usr/local by default under UNIX, including Mac OS X
if (UNIX)
+ option(KDE4_USE_ALWAYS_FULL_RPATH "If set to TRUE, also libs and plugins will be linked with the full RPATH, which will usually make them work better, but make install will take longer." OFF)
+
link_directories(/usr/local/lib)
set( _KDE4_PLATFORM_INCLUDE_DIRS /usr/local/include )