diff options
author | Craig Scott <craig.scott@crascit.com> | 2018-07-20 22:58:14 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-07-20 22:58:43 (GMT) |
commit | e3664debd2d950de1b0d0a0c673ada05ae9a700d (patch) | |
tree | af4be391aa3f6809978b69b680b08f5836ce2b62 /Help/release/3.12.rst | |
parent | 01c04e429717fb7a6a157ce1baeb2114724ec055 (diff) | |
parent | 492ade276b9a54ad61ba5eed4eea77897fdb74c1 (diff) | |
download | CMake-e3664debd2d950de1b0d0a0c673ada05ae9a700d.zip CMake-e3664debd2d950de1b0d0a0c673ada05ae9a700d.tar.gz CMake-e3664debd2d950de1b0d0a0c673ada05ae9a700d.tar.bz2 |
Merge topic 'doc-find_package-root'
492ade276b Help: Add explicit <PackageName>_ROOT variable documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2225
Diffstat (limited to 'Help/release/3.12.rst')
-rw-r--r-- | Help/release/3.12.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/release/3.12.rst b/Help/release/3.12.rst index bbeb11e..481027e 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`. |