cmake/Help/variable/CMAKE_SKIP_RPATH.rst

15 lines
601 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_SKIP_RPATH
----------------
If true, do not add run time path information.
2015-11-17 17:22:37 +01:00
If this is set to ``TRUE``, then the rpath information is not added to
2014-08-03 19:52:23 +02:00
compiled executables. The default is to add rpath information if the
platform supports it. This allows for easy running from the build
tree. To omit RPATH in the install step, but not the build step, use
2023-05-23 16:38:00 +02:00
:variable:`CMAKE_SKIP_INSTALL_RPATH` instead. To omit RPATH in the build step,
use :variable:`CMAKE_SKIP_BUILD_RPATH`.
For more information on RPATH handling see the :prop_tgt:`INSTALL_RPATH`
and :prop_tgt:`BUILD_RPATH` target properties.