summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-03-06 20:27:54 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-03-06 20:27:54 (GMT)
commit50f9db9b00dedd53789ae446475fef790e2534df (patch)
tree71cff1f9c91b099334830614873fc6852b3228d1 /Modules
parente872b0d2b8af28297ce4d3dfb9f751003e50e65c (diff)
parent635bf50c27aef184bfa1698953dd44361e1fb2f9 (diff)
downloadCMake-50f9db9b00dedd53789ae446475fef790e2534df.zip
CMake-50f9db9b00dedd53789ae446475fef790e2534df.tar.gz
CMake-50f9db9b00dedd53789ae446475fef790e2534df.tar.bz2
Merge topic 'skip-install-rpath'
635bf50 Add an option to skip RPATH during installation.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeGenericSystem.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake
index 6cd8fe6..ee8040e 100644
--- a/Modules/CMakeGenericSystem.cmake
+++ b/Modules/CMakeGenericSystem.cmake
@@ -39,6 +39,8 @@ SET_PROPERTY(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE)
SET (CMAKE_SKIP_RPATH "NO" CACHE BOOL
"If set, runtime paths are not added when using shared libraries.")
+SET (CMAKE_SKIP_INSTALL_RPATH "NO" CACHE BOOL
+ "If set, runtime paths are not added when installing shared libraries, but are added when building.")
SET(CMAKE_VERBOSE_MAKEFILE FALSE CACHE BOOL "If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make. This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo.")
@@ -168,5 +170,6 @@ ENDIF(CMAKE_HOST_UNIX)
MARK_AS_ADVANCED(
CMAKE_SKIP_RPATH
+ CMAKE_SKIP_INSTALL_RPATH
CMAKE_VERBOSE_MAKEFILE
)