summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorHong Xu <hong@topbug.net>2019-12-02 21:21:00 (GMT)
committerBrad King <brad.king@kitware.com>2019-12-05 17:45:45 (GMT)
commitfb4a39a900c7d7e2ef45194f89456ac60ebefe9e (patch)
tree92693ace8fb1ec86f849a41de6fdd6cd27b35da4 /Help/variable
parent735d731119e731c8a321f85824ee685005b38731 (diff)
downloadCMake-fb4a39a900c7d7e2ef45194f89456ac60ebefe9e.zip
CMake-fb4a39a900c7d7e2ef45194f89456ac60ebefe9e.tar.gz
CMake-fb4a39a900c7d7e2ef45194f89456ac60ebefe9e.tar.bz2
Help: Clarify INSTALL_RPATH_USE_LINK_PATH documentation
State explicitly that directories containing linked library files are also included even if they are not in the linker search path.
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst b/Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst
index 78148d5..a99c108 100644
--- a/Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst
+++ b/Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst
@@ -3,7 +3,11 @@ CMAKE_INSTALL_RPATH_USE_LINK_PATH
Add paths to linker search and installed rpath.
-``CMAKE_INSTALL_RPATH_USE_LINK_PATH`` is a boolean that if set to ``true``
-will append directories in the linker search path and outside the
-project to the :prop_tgt:`INSTALL_RPATH`. This is used to initialize the
-target property :prop_tgt:`INSTALL_RPATH_USE_LINK_PATH` for all targets.
+``CMAKE_INSTALL_RPATH_USE_LINK_PATH`` is a boolean that if set to ``True``
+will append to the runtime search path (rpath) of installed binaries
+any directories outside the project that are in the linker search path or
+contain linked library files. The directories are appended after the
+value of the :prop_tgt:`INSTALL_RPATH` target property.
+
+This varibale is used to initialize the target property
+:prop_tgt:`INSTALL_RPATH_USE_LINK_PATH` for all targets.