1CMAKE_STAGING_PREFIX 2-------------------- 3 4This variable may be set to a path to install to when cross-compiling. This can 5be useful if the path in :variable:`CMAKE_SYSROOT` is read-only, or otherwise 6should remain pristine. 7 8The :variable:`CMAKE_STAGING_PREFIX` location is also used as a search prefix 9by the ``find_*`` commands. This can be controlled by setting the 10:variable:`CMAKE_FIND_NO_INSTALL_PREFIX` variable. 11 12If any ``RPATH``/``RUNPATH`` entries passed to the linker contain the 13:variable:`CMAKE_STAGING_PREFIX`, the matching path fragments are replaced 14with the :variable:`CMAKE_INSTALL_PREFIX`. 15