cmake/Help/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.rst

12 lines
479 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_BUILD_WITH_INSTALL_RPATH
------------------------------
2015-11-17 17:22:37 +01:00
Use the install path for the ``RPATH``.
2014-08-03 19:52:23 +02:00
2015-11-17 17:22:37 +01:00
Normally CMake uses the build tree for the ``RPATH`` when building
executables etc on systems that use ``RPATH``. When the software is
2014-08-03 19:52:23 +02:00
installed the executables etc are relinked by CMake to have the
2015-11-17 17:22:37 +01:00
install ``RPATH``. If this variable is set to true then the software is
always built with the install path for the ``RPATH`` and does not need to
2014-08-03 19:52:23 +02:00
be relinked when installed.