summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst')
-rw-r--r--Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst b/Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst
new file mode 100644
index 0000000..f16b212
--- /dev/null
+++ b/Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst
@@ -0,0 +1,14 @@
+CMAKE_SKIP_INSTALL_RPATH
+------------------------
+
+Do not include RPATHs in the install tree.
+
+Normally CMake uses the build tree for the RPATH when building
+executables etc on systems that use RPATH. When the software is
+installed the executables etc are relinked by CMake to have the
+install RPATH. If this variable is set to true then the software is
+always installed without RPATH, even if RPATH is enabled when
+building. This can be useful for example to allow running tests from
+the build directory with RPATH enabled before the installation step.
+To omit RPATH in both the build and install steps, use
+CMAKE_SKIP_RPATH instead.