summaryrefslogtreecommitdiffstats
path: root/Help/release/3.12.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-19 18:19:42 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-20 13:43:08 (GMT)
commit492ade276b9a54ad61ba5eed4eea77897fdb74c1 (patch)
treed4eacdf430e9e29aa89244e2ab1dd9c01ba5ab78 /Help/release/3.12.rst
parentf84c15ef2fa30dd074fcccafccec6b9b69266619 (diff)
downloadCMake-492ade276b9a54ad61ba5eed4eea77897fdb74c1.zip
CMake-492ade276b9a54ad61ba5eed4eea77897fdb74c1.tar.gz
CMake-492ade276b9a54ad61ba5eed4eea77897fdb74c1.tar.bz2
Help: Add explicit <PackageName>_ROOT variable documentation
Add documentation for both the CMake variable and environment variable of this name pattern. Update references to these names to link to their documents. Clarify the pattern used to construct their names.
Diffstat (limited to 'Help/release/3.12.rst')
-rw-r--r--Help/release/3.12.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/release/3.12.rst b/Help/release/3.12.rst
index f6fdb5a..f00be3e 100644
--- a/Help/release/3.12.rst
+++ b/Help/release/3.12.rst
@@ -46,8 +46,9 @@ Commands
were added to expose ``TOUCH`` functionality without having to use
CMake's command-line tool mode with :command:`execute_process`.
-* The :command:`find_package` command now searches a prefix specified by
- a ``PackageName_ROOT`` CMake or environment variable. Package roots are
+* The :command:`find_package` 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.
See policy :policy:`CMP0074`.