diff options
author | Brad King <brad.king@kitware.com> | 2023-02-09 15:01:41 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-02-09 15:01:52 (GMT) |
commit | df314006489572b5a7e587c529e48f22e5d4ffa0 (patch) | |
tree | 5c357833581cdb55fd9fa10a30c83b5bc5577ec2 /Help/command | |
parent | 53cdc5aa30261c3ced1fe47a326b6ad90f57e612 (diff) | |
parent | 20e727a408deeac7a6b0b27c729f4d27fc7cc43a (diff) | |
download | CMake-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/command')
-rw-r--r-- | Help/command/find_package.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst index c99c73d..de4cb88 100644 --- a/Help/command/find_package.rst +++ b/Help/command/find_package.rst @@ -370,7 +370,8 @@ enabled. 1. .. versionadded:: 3.12 Search paths specified in the :variable:`<PackageName>_ROOT` CMake variable and the :envvar:`<PackageName>_ROOT` environment variable, - where ``<PackageName>`` is the package to be found. + where ``<PackageName>`` is the package to be found + (the case-preserved first argument to ``find_package``). The package root variables are maintained as a stack so if called from within a find module, root paths from the parent's find module will also be searched after paths for the current package. |