Commit c2c7b960 authored by Brad King's avatar Brad King
Browse files

Merge branch 'docs-rpath-origin-apple' into release-3.14

Merge-request: !3020
parents e994e1f9 bf10f024
......@@ -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`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment