diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2019-06-26 21:51:21 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2019-07-09 13:37:55 (GMT) |
commit | 704e3a2ca89a3ea75b3cf55efe9bd5d6826168da (patch) | |
tree | 3ded763dbca5a24b026ec3a7728fe3b484dc693c /Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst | |
parent | 06f1560a58391d29b10697b2d5462966cd417b2f (diff) | |
download | CMake-704e3a2ca89a3ea75b3cf55efe9bd5d6826168da.zip CMake-704e3a2ca89a3ea75b3cf55efe9bd5d6826168da.tar.gz CMake-704e3a2ca89a3ea75b3cf55efe9bd5d6826168da.tar.bz2 |
Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docs
Diffstat (limited to 'Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst')
-rw-r--r-- | Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst b/Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst new file mode 100644 index 0000000..9731ade --- /dev/null +++ b/Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst @@ -0,0 +1,17 @@ +CMAKE_FIND_USE_PACKAGE_ROOT_PATH +-------------------------------- + +Controls the searching of :variable:`<PackageName>_ROOT` variables by the +:command:`find_program`, :command:`find_library`, :command:`find_file`, +and :command:`find_path` commands. +This is useful in cross-compiling environments. + +By default this variable is not set, which is equivalent to it having +a value of ``TRUE``. Explicit options given to the :command:`find_program`, +:command:`find_library`, :command:`find_file`, and :command:`find_path` +commands take precedence over this variable. + +See also the :variable:`CMAKE_FIND_USE_CMAKE_PATH`, +:variable:`CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH`, +:variable:`CMAKE_FIND_USE_CMAKE_SYSTEM_PATH`, +and :variable:`CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH` variables. |