summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2019-10-31 13:16:33 (GMT)
committerBrad King <brad.king@kitware.com>2019-11-04 15:31:16 (GMT)
commit55df3954d33913727fa7a5871ea1f336b1cbe85c (patch)
tree02ef0cceda03d44ebbaa5a169b2ed3e536d9feda /Help/command
parentc1d5d5eb11e0260ffadda0851ac844ab46b6b179 (diff)
downloadCMake-55df3954d33913727fa7a5871ea1f336b1cbe85c.zip
CMake-55df3954d33913727fa7a5871ea1f336b1cbe85c.tar.gz
CMake-55df3954d33913727fa7a5871ea1f336b1cbe85c.tar.bz2
find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
Extend the change from commit 1d00ba9ccf (Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY, 2018-11-13, v3.16.0-rc1~461^2~1) to cover the system package registry too. Fixes: #19890
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/find_package.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index 546b00f..64a16f3 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -353,8 +353,10 @@ enabled.
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
+ or by setting the :variable:`CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY`
+ variable to ``FALSE`` or the deprecated variable
:variable:`CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY` to ``TRUE``.
+
See the :manual:`cmake-packages(7)` manual for details on the system
package registry.