mirror of
https://github.com/reactos/CMake.git
synced 2025-02-12 14:58:45 +00:00
![Peter Wu](/assets/img/avatar_default.png)
This makes binaries independent of the build directory by not embedding the build directory via RPATH. The tests are partially based on the existing RuntimePath test, but with the check moved into a POST_BUILD command such that it can be skipped when the platform lacks support. Fixes: #18413
8 lines
250 B
ReStructuredText
8 lines
250 B
ReStructuredText
CMAKE_BUILD_RPATH_USE_ORIGIN
|
|
----------------------------
|
|
|
|
Whether to use relative paths for the build ``RPATH``.
|
|
|
|
This is used to initialize the :prop_tgt:`BUILD_RPATH_USE_ORIGIN` target
|
|
property for all targets, see that property for more details.
|