diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-02-19 23:34:11 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2012-03-05 21:24:57 (GMT) |
commit | 635bf50c27aef184bfa1698953dd44361e1fb2f9 (patch) | |
tree | 9f3a89ffa2aa2251c0b85457c107cd48db543a53 /Modules | |
parent | e316cbbbc32bd7711c4bbd96ab34adfa79722d79 (diff) | |
download | CMake-635bf50c27aef184bfa1698953dd44361e1fb2f9.zip CMake-635bf50c27aef184bfa1698953dd44361e1fb2f9.tar.gz CMake-635bf50c27aef184bfa1698953dd44361e1fb2f9.tar.bz2 |
Add an option to skip RPATH during installation.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeGenericSystem.cmake | 3 |
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 ) |