summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2017-02-09 08:12:10 -0700
committerClinton Stimpson <clinton@elemtech.com>2017-02-14 14:28:07 -0700
commit1ba91291e3237e5535a46c6ff1bce6a33d298a76 (patch)
treedb163ae2e44d0e9f8ab6cb6238bd8128b677eaea /Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst
parentf7b9bf41c5386dfc38b7a722f75b0e23a02d542b (diff)
downloadcmake-1ba91291e3237e5535a46c6ff1bce6a33d298a76.tar.gz
Add policy CMP0068 separate install_name and RPATH settings on macOS
BUILD_WITH_INSTALL_RPATH, SKIP_BUILD_RPATH, CMAKE_SKIP_RPATH and CMAKE_SKIP_INSTALL_RPATH no longer any effect on the install name of a target on macOS. Fixes: #16589
Diffstat (limited to 'Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst')
-rw-r--r--Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst b/Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst
index 97c3736e22..0244351044 100644
--- a/Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst
+++ b/Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst
@@ -10,6 +10,6 @@ This property is initialized by the value of the
:variable:`CMAKE_BUILD_WITH_INSTALL_RPATH` variable if it is set when a target
is created.
-This property also controls use of :prop_tgt:`INSTALL_NAME_DIR` in the build
-tree on macOS, but defers to the :prop_tgt:`BUILD_WITH_INSTALL_NAME_DIR` target
-property if the latter is set.
+If policy :policy:`CMP0068` is not ``NEW``, this property also controls use of
+:prop_tgt:`INSTALL_NAME_DIR` in the build tree on macOS. Either way, the
+:prop_tgt:`BUILD_WITH_INSTALL_NAME_DIR` target property takes precedence.