cmake/Help/prop_tgt/INSTALL_RPATH.rst

17 lines
605 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
INSTALL_RPATH
-------------
The rpath to use for installed targets.
A semicolon-separated list specifying the rpath to use in installed
targets (for platforms that support it). This property is initialized
2019-11-11 23:01:05 +01:00
by the value of the variable :variable:`CMAKE_INSTALL_RPATH` if it is set when
a target is created.
2020-02-01 23:06:01 +01:00
2020-08-30 11:54:41 +02:00
Because the rpath may contain ``${ORIGIN}``, which coincides with CMake syntax,
the contents of ``INSTALL_RPATH`` are properly escaped in the
``cmake_install.cmake`` script (see policy :policy:`CMP0095`.)
2020-02-01 23:06:01 +01:00
This property supports
:manual:`generator expressions <cmake-generator-expressions(7)>`.