summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2023-01-11 22:46:16 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-20 16:28:53 (GMT)
commitf784c21567772012caa5cec77be055b496e1232c (patch)
tree8385d56c9170a7075813de7252005d6813ce5ab3 /Help/prop_tgt
parent66ad61ba797f7062224788b3ab578b5ed87370d5 (diff)
downloadCMake-f784c21567772012caa5cec77be055b496e1232c.zip
CMake-f784c21567772012caa5cec77be055b496e1232c.tar.gz
CMake-f784c21567772012caa5cec77be055b496e1232c.tar.bz2
Help: mention CMAKE_SKIP_RPATH in the RPATH docs
CMAKE_SKIP_RPATH is now mentioned in the docs for the BUILD_RPATH and INSTALL_RPATH target properties.
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/BUILD_RPATH.rst3
-rw-r--r--Help/prop_tgt/INSTALL_RPATH.rst2
2 files changed, 5 insertions, 0 deletions
diff --git a/Help/prop_tgt/BUILD_RPATH.rst b/Help/prop_tgt/BUILD_RPATH.rst
index e546dcc..902e2f7 100644
--- a/Help/prop_tgt/BUILD_RPATH.rst
+++ b/Help/prop_tgt/BUILD_RPATH.rst
@@ -23,6 +23,9 @@ This property supports
Other settings that affect the build-tree runtime path include:
+* The :variable:`CMAKE_SKIP_RPATH` variable completely disables runtime
+ paths in both the build tree and install tree.
+
* The :prop_tgt:`SKIP_BUILD_RPATH` target property disables setting any
runtime path in the build tree.
diff --git a/Help/prop_tgt/INSTALL_RPATH.rst b/Help/prop_tgt/INSTALL_RPATH.rst
index 07d7ae6..dd6bf89 100644
--- a/Help/prop_tgt/INSTALL_RPATH.rst
+++ b/Help/prop_tgt/INSTALL_RPATH.rst
@@ -22,6 +22,8 @@ the :prop_tgt:`BUILD_WITH_INSTALL_RPATH` target property.
For handling toolchain-dependent RPATH entries the
:prop_tgt:`INSTALL_REMOVE_ENVIRONMENT_RPATH` can be used.
+Runtime paths can be disabled completely via the :variable:`CMAKE_SKIP_RPATH`
+variable.
Because the rpath may contain ``${ORIGIN}``, which coincides with CMake syntax,
the contents of ``INSTALL_RPATH`` are properly escaped in the