diff options
Diffstat (limited to 'share/cmake-3.22/Help/variable/CMAKE_STAGING_PREFIX.rst')
-rw-r--r-- | share/cmake-3.22/Help/variable/CMAKE_STAGING_PREFIX.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/share/cmake-3.22/Help/variable/CMAKE_STAGING_PREFIX.rst b/share/cmake-3.22/Help/variable/CMAKE_STAGING_PREFIX.rst new file mode 100644 index 0000000..bdb97fa --- /dev/null +++ b/share/cmake-3.22/Help/variable/CMAKE_STAGING_PREFIX.rst @@ -0,0 +1,14 @@ +CMAKE_STAGING_PREFIX +-------------------- + +This variable may be set to a path to install to when cross-compiling. This can +be useful if the path in :variable:`CMAKE_SYSROOT` is read-only, or otherwise +should remain pristine. + +The :variable:`CMAKE_STAGING_PREFIX` location is also used as a search prefix +by the ``find_*`` commands. This can be controlled by setting the +:variable:`CMAKE_FIND_NO_INSTALL_PREFIX` variable. + +If any ``RPATH``/``RUNPATH`` entries passed to the linker contain the +:variable:`CMAKE_STAGING_PREFIX`, the matching path fragments are replaced +with the :variable:`CMAKE_INSTALL_PREFIX`. |