Imported Upstream version 3.17.1
[platform/upstream/cmake.git] / Help / variable / CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst
1 CMAKE_INSTALL_RPATH_USE_LINK_PATH
2 ---------------------------------
3
4 Add paths to linker search and installed rpath.
5
6 ``CMAKE_INSTALL_RPATH_USE_LINK_PATH`` is a boolean that if set to ``True``
7 will append to the runtime search path (rpath) of installed binaries
8 any directories outside the project that are in the linker search path or
9 contain linked library files.  The directories are appended after the
10 value of the :prop_tgt:`INSTALL_RPATH` target property.
11
12 This variable is used to initialize the target property
13 :prop_tgt:`INSTALL_RPATH_USE_LINK_PATH` for all targets.