summaryrefslogtreecommitdiffstats
path: root/Help/policy
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-29 14:32:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-10-29 14:33:16 (GMT)
commit8db410f33620859474f272a82d1c8895538d66e2 (patch)
tree3dcea4090c95ddb7389cd8e2851fa319647c30cd /Help/policy
parentcffff0f17ef14fae6652ea5fd8c3511123a8e7b7 (diff)
parenta0a7a45dbcc17000a5cb8223e86908f41c40faf5 (diff)
downloadCMake-8db410f33620859474f272a82d1c8895538d66e2.zip
CMake-8db410f33620859474f272a82d1c8895538d66e2.tar.gz
CMake-8db410f33620859474f272a82d1c8895538d66e2.tar.bz2
Merge topic 'docs-find-vars'
a0a7a45dbc Help: Fix markup errors, improve wording of CMAKE_FIND... variable docs 049dbdd38c Help: Document that <PackageName>_ROOT applies to config packages too Acked-by: Kitware Robot <kwrobot@kitware.com> 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