summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-05-14 17:54:38 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2020-05-19 14:57:09 (GMT)
commit6b3d8f281e02dbd8e1035403e43c25179bd2276c (patch)
tree0e62097d12c71d14310fd50c28c1c9e8b65245e2 /Help/command
parent4dc95526868d903c7f9e9505001cb5dbeec259c0 (diff)
downloadCMake-6b3d8f281e02dbd8e1035403e43c25179bd2276c.zip
CMake-6b3d8f281e02dbd8e1035403e43c25179bd2276c.tar.gz
CMake-6b3d8f281e02dbd8e1035403e43c25179bd2276c.tar.bz2
Document which environment variables effect CMAKE_SYSTEM_PREFIX_PATH
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/FIND_XXX.txt4
-rw-r--r--Help/command/find_package.rst4
2 files changed, 8 insertions, 0 deletions
diff --git a/Help/command/FIND_XXX.txt b/Help/command/FIND_XXX.txt
index cebe051..4a62c5b 100644
--- a/Help/command/FIND_XXX.txt
+++ b/Help/command/FIND_XXX.txt
@@ -143,6 +143,10 @@ If ``NO_DEFAULT_PATH`` is not specified, the search process is as follows:
* |CMAKE_SYSTEM_XXX_PATH|
* |CMAKE_SYSTEM_XXX_MAC_PATH|
+ The platform paths that these variables contain are locations that
+ typically include installed software. An example being ``/usr/local`` for
+ UNIX based platforms.
+
7. Search the paths specified by the PATHS option
or in the short-hand version of the command.
These are typically hard-coded guesses.
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index 6753268..3547ada 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -351,6 +351,10 @@ enabled.
CMAKE_SYSTEM_FRAMEWORK_PATH
CMAKE_SYSTEM_APPBUNDLE_PATH
+ The platform paths that these variables contain are locations that
+ typically include installed software. An example being ``/usr/local`` for
+ UNIX based platforms.
+
8. Search paths stored in the CMake :ref:`System Package Registry`.
This can be skipped if ``NO_CMAKE_SYSTEM_PACKAGE_REGISTRY`` is passed
or by setting the :variable:`CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY`