aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/KDE4Defaults.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/KDE4Defaults.cmake b/modules/KDE4Defaults.cmake
index d81b265e..60c62e35 100644
--- a/modules/KDE4Defaults.cmake
+++ b/modules/KDE4Defaults.cmake
@@ -23,7 +23,9 @@ set(CMAKE_COLOR_MAKEFILE ON)
# Enable use of chrpath to avoid the need for actually relinking on install
# since cmake cvs 12/19/2007
-set(CMAKE_USE_CHRPATH ON)
+if (NOT CMAKE_SKIP_RPATH)
+ set(CMAKE_USE_CHRPATH ON)
+endif (NOT CMAKE_SKIP_RPATH)
# define the generic version of the libraries here
# this makes it easy to advance it when the next KDE release comes