diff options
author | Craig Scott <craig.scott@crascit.com> | 2019-10-27 05:11:55 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2019-10-27 07:11:00 (GMT) |
commit | a0a7a45dbcc17000a5cb8223e86908f41c40faf5 (patch) | |
tree | bff00ff933485fee54437db429a4db9e42c433c4 /Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst | |
parent | 049dbdd38c56ad9ea06af2032faf3348c3c76742 (diff) | |
download | CMake-a0a7a45dbcc17000a5cb8223e86908f41c40faf5.zip CMake-a0a7a45dbcc17000a5cb8223e86908f41c40faf5.tar.gz CMake-a0a7a45dbcc17000a5cb8223e86908f41c40faf5.tar.bz2 |
Help: Fix markup errors, improve wording of CMAKE_FIND... variable 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, 10 insertions, 7 deletions
diff --git a/Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst b/Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst index e17fdcc..25a25f3 100644 --- a/Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst +++ b/Help/variable/CMAKE_FIND_USE_PACKAGE_ROOT_PATH.rst @@ -1,15 +1,18 @@ 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`, -:command:`find_path`, and command:`find_package` commands. -This is useful in cross-compiling environments. +Controls the default behavior of the following commands for whether or not to +search paths provided by :variable:`<PackageName>_ROOT` variables: + +* :command:`find_program` +* :command:`find_library` +* :command:`find_file` +* :command:`find_path` +* :command:`find_package` 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. +a value of ``TRUE``. Explicit options given to the above commands +take precedence over this variable. See also the :variable:`CMAKE_FIND_USE_CMAKE_PATH`, :variable:`CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH`, |