summaryrefslogtreecommitdiffstats
path: root/Help/policy
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-28 15:33:05 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-28 15:33:05 (GMT)
commita575fbc3cb202632f551ac134ff183665abe4487 (patch)
treee335780c811f8f2c10af09074d273a053426ad56 /Help/policy
parent62267715fe6f69162b834c6ee96ca6073ff96d15 (diff)
parenta0a7a45dbcc17000a5cb8223e86908f41c40faf5 (diff)
downloadCMake-a575fbc3cb202632f551ac134ff183665abe4487.zip
CMake-a575fbc3cb202632f551ac134ff183665abe4487.tar.gz
CMake-a575fbc3cb202632f551ac134ff183665abe4487.tar.bz2
Merge branch 'docs-find-vars' into release-3.16
Merge-request: !3952
Diffstat (limited to 'Help/policy')
-rw-r--r--Help/policy/CMP0074.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/policy/CMP0074.rst b/Help/policy/CMP0074.rst
index 896936b..63ebf7b 100644
--- a/Help/policy/CMP0074.rst
+++ b/Help/policy/CMP0074.rst
@@ -7,9 +7,9 @@ In CMake 3.12 and above the :command:`find_package(<PackageName>)` command now
searches prefixes specified by the :variable:`<PackageName>_ROOT` CMake
variable and the :envvar:`<PackageName>_ROOT` environment variable.
Package roots are maintained as a stack so nested calls to all ``find_*``
-commands inside find modules also search the roots as prefixes. This policy
-provides compatibility with projects that have not been updated to avoid using
-``<PackageName>_ROOT`` variables for other purposes.
+commands inside find modules and config packages also search the roots as
+prefixes. This policy provides compatibility with projects that have not been
+updated to avoid using ``<PackageName>_ROOT`` variables for other purposes.
The ``OLD`` behavior for this policy is to ignore ``<PackageName>_ROOT``
variables. The ``NEW`` behavior for this policy is to use