summaryrefslogtreecommitdiffstats
path: root/Help/envvar
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-08 19:04:13 (GMT)
committerBrad King <brad.king@kitware.com>2023-02-08 19:06:38 (GMT)
commit20e727a408deeac7a6b0b27c729f4d27fc7cc43a (patch)
tree4c78a12e986adfa5b3684903dc92bc8d01274b3a /Help/envvar
parentfc4e31d7034153cb9d72f3d812ad0c5459580dd3 (diff)
downloadCMake-20e727a408deeac7a6b0b27c729f4d27fc7cc43a.zip
CMake-20e727a408deeac7a6b0b27c729f4d27fc7cc43a.tar.gz
CMake-20e727a408deeac7a6b0b27c729f4d27fc7cc43a.tar.bz2
Help: Clarify that <PackageName>_ROOT variable names are case-preserved
The name comes from the case-preserved first argument to `find_package`.
Diffstat (limited to 'Help/envvar')
-rw-r--r--Help/envvar/PackageName_ROOT.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/envvar/PackageName_ROOT.rst b/Help/envvar/PackageName_ROOT.rst
index 0cdd384..fa8c385 100644
--- a/Help/envvar/PackageName_ROOT.rst
+++ b/Help/envvar/PackageName_ROOT.rst
@@ -7,10 +7,10 @@
Calls to :command:`find_package(<PackageName>)` will search in prefixes
specified by the ``<PackageName>_ROOT`` environment variable, where
-``<PackageName>`` is the name given to the :command:`find_package` call
-and ``_ROOT`` is literal. For example, ``find_package(Foo)`` will search
-prefixes specified in the ``Foo_ROOT`` environment variable (if set).
-See policy :policy:`CMP0074`.
+``<PackageName>`` is the (case-preserved) name given to the
+:command:`find_package` call and ``_ROOT`` is literal.
+For example, ``find_package(Foo)`` will search prefixes specified in the
+``Foo_ROOT`` environment variable (if set). See policy :policy:`CMP0074`.
This variable may hold a single prefix or a list of prefixes separated
by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment