summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-08-30 19:27:30 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2022-08-30 21:52:40 (GMT)
commit0fc10bb19bd63ca9f6647a7b373e91fb16403249 (patch)
tree942b69b1cd977e8d7ee67d96cc17827422cf5eb9 /Help/command
parent43d31c519882f63456eafcaa2bd5c1bfc4e2ef1f (diff)
downloadCMake-0fc10bb19bd63ca9f6647a7b373e91fb16403249.zip
CMake-0fc10bb19bd63ca9f6647a7b373e91fb16403249.tar.gz
CMake-0fc10bb19bd63ca9f6647a7b373e91fb16403249.tar.bz2
CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIX
Fixes #23900
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/FIND_XXX.txt3
-rw-r--r--Help/command/find_package.rst3
2 files changed, 4 insertions, 2 deletions
diff --git a/Help/command/FIND_XXX.txt b/Help/command/FIND_XXX.txt
index 83860b7..cd3c78b 100644
--- a/Help/command/FIND_XXX.txt
+++ b/Help/command/FIND_XXX.txt
@@ -166,7 +166,8 @@ If ``NO_DEFAULT_PATH`` is not specified, the search process is as follows:
* |SYSTEM_ENVIRONMENT_PATH_WINDOWS_XXX|
6. Search cmake variables defined in the Platform files
- for the current system. The searching of ``CMAKE_INSTALL_PREFIX`` can be
+ for the current system. The searching of ``CMAKE_INSTALL_PREFIX`` and
+ ``CMAKE_STAGING_PREFIX`` can be
skipped if ``NO_CMAKE_INSTALL_PREFIX`` is passed or by setting the
:variable:`CMAKE_FIND_USE_INSTALL_PREFIX` to ``FALSE``. All these locations
can be skipped if ``NO_CMAKE_SYSTEM_PATH`` is passed or by setting the
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index ee52c41..ea0e817 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -412,7 +412,8 @@ enabled.
package registry.
7. Search cmake variables defined in the Platform files for the
- current system. The searching of :variable:`CMAKE_INSTALL_PREFIX` can be
+ current system. The searching of :variable:`CMAKE_INSTALL_PREFIX` and
+ :variable:`CMAKE_STAGING_PREFIX` can be
skipped if ``NO_CMAKE_INSTALL_PREFIX`` is passed or by setting the
:variable:`CMAKE_FIND_USE_INSTALL_PREFIX` to ``FALSE``. All these locations
can be skipped if ``NO_CMAKE_SYSTEM_PATH`` is passed or by setting the