summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-09 15:01:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-02-09 15:01:52 (GMT)
commitdf314006489572b5a7e587c529e48f22e5d4ffa0 (patch)
tree5c357833581cdb55fd9fa10a30c83b5bc5577ec2 /Help/variable
parent53cdc5aa30261c3ced1fe47a326b6ad90f57e612 (diff)
parent20e727a408deeac7a6b0b27c729f4d27fc7cc43a (diff)
downloadCMake-df314006489572b5a7e587c529e48f22e5d4ffa0.zip
CMake-df314006489572b5a7e587c529e48f22e5d4ffa0.tar.gz
CMake-df314006489572b5a7e587c529e48f22e5d4ffa0.tar.bz2
Merge topic 'doc-find_package-root-case'
20e727a408 Help: Clarify that <PackageName>_ROOT variable names are case-preserved Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8182
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/PackageName_ROOT.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/variable/PackageName_ROOT.rst b/Help/variable/PackageName_ROOT.rst
index 98ba20e..6b17be3 100644
--- a/Help/variable/PackageName_ROOT.rst
+++ b/Help/variable/PackageName_ROOT.rst
@@ -5,10 +5,10 @@
Calls to :command:`find_package(<PackageName>)` will search in prefixes
specified by the ``<PackageName>_ROOT`` CMake 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`` CMake 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`` CMake variable (if set). See policy :policy:`CMP0074`.
This variable may hold a single prefix or a
:ref:`semicolon-separated list <CMake Language Lists>` of multiple prefixes.