summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2001-12-21 05:01:02 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2001-12-21 05:01:02 (GMT)
commit9ad7f0905a11e8e9c5667b98b0dc74adc01afeed (patch)
tree61cbc92492af1b6d1112b2dc8edde2a9f49e6ed0 /Templates
parent5291b7d0259ad7fbd5a463d940aadf0ea78a4de0 (diff)
downloadCMake-9ad7f0905a11e8e9c5667b98b0dc74adc01afeed.zip
CMake-9ad7f0905a11e8e9c5667b98b0dc74adc01afeed.tar.gz
CMake-9ad7f0905a11e8e9c5667b98b0dc74adc01afeed.tar.bz2
ENH: Add option to disable use of -rpath.
Diffstat (limited to 'Templates')
-rw-r--r--Templates/CMakeSystemConfig.cmake.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Templates/CMakeSystemConfig.cmake.in b/Templates/CMakeSystemConfig.cmake.in
index a5a4691..42f8a3e 100644
--- a/Templates/CMakeSystemConfig.cmake.in
+++ b/Templates/CMakeSystemConfig.cmake.in
@@ -84,6 +84,9 @@ SET (CMAKE_SHLIB_RUNTIME_FLAG "@CMAKE_SHLIB_RUNTIME_FLAG@" CACHE STRING
SET (CMAKE_SHLIB_RUNTIME_SEP "@CMAKE_SHLIB_RUNTIME_SEP@" CACHE STRING
"If null, each runtime path is a separate option. Otherwise, they are all joined, separated by this.")
+SET (CMAKE_SKIP_RPATH "NO" CACHE BOOL
+ "If set, runtime paths are not added when using shared libraries.")
+
# support for X11
SET (CMAKE_X_LIBS "@X_PRE_LIBS@ @X_LIBS@ -lX11 -lXext @X_EXTRA_LIBS@" CACHE STRING
@@ -149,6 +152,7 @@ CMAKE_MODULE_LINK_FLAGS
CMAKE_SHLIB_LD_LIBS
CMAKE_SHLIB_RUNTIME_FLAG
CMAKE_SHLIB_RUNTIME_SEP
+CMAKE_SKIP_RPATH
CMAKE_X_CFLAGS
CMAKE_NO_ANSI_STREAM_HEADERS
CMAKE_NO_ANSI_FOR_SCOPE