summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-27 12:59:19 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-27 12:59:19 (GMT)
commitc2c7b9605c7e2c095c342c0641fc44875df89942 (patch)
tree6cfbf3e5010f99871c3afe849c99f4baea6c30e0 /Help/prop_tgt
parente994e1f9cd7f520798be9b97ceeb75b946a64eb7 (diff)
parentbf10f02441ba3e33523a64f075441c8820daf843 (diff)
downloadCMake-c2c7b9605c7e2c095c342c0641fc44875df89942.zip
CMake-c2c7b9605c7e2c095c342c0641fc44875df89942.tar.gz
CMake-c2c7b9605c7e2c095c342c0641fc44875df89942.tar.bz2
Merge branch 'docs-rpath-origin-apple' into release-3.14
Merge-request: !3020
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/BUILD_RPATH_USE_ORIGIN.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/Help/prop_tgt/BUILD_RPATH_USE_ORIGIN.rst b/Help/prop_tgt/BUILD_RPATH_USE_ORIGIN.rst
index 511de7a..3378797 100644
--- a/Help/prop_tgt/BUILD_RPATH_USE_ORIGIN.rst
+++ b/Help/prop_tgt/BUILD_RPATH_USE_ORIGIN.rst
@@ -8,14 +8,14 @@ This property is initialized by the value of the variable
On platforms that support runtime paths (``RPATH``) with the
``$ORIGIN`` token, setting this property to ``TRUE`` enables relative
-paths in the build ``RPATH`` for executables that point to shared
-libraries in the same build tree.
+paths in the build ``RPATH`` for executables and shared libraries that
+point to shared libraries in the same build tree.
-Normally the build ``RPATH`` of an executable contains absolute paths
-to the directory of shared libraries. Directories contained within the
-build tree can be made relative to enable relocatable builds and to
-help achieving reproducible builds by omitting the build directory
-from the build environment.
+Normally the build ``RPATH`` of a binary contains absolute paths
+to the directory of each shared library it links to. The ``RPATH``
+entries for directories contained within the build tree can be made
+relative to enable relocatable builds and to help achieve reproducible
+builds by omitting the build directory from the build environment.
This property has no effect on platforms that do not support the
``$ORIGIN`` token in ``RPATH``, or when the :variable:`CMAKE_SKIP_RPATH`