Merge topic 'CMakeFindPackageMode-link-docs'

c5388bd320 CMakeFindPackageMode: Link to cmake --find-package documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8943
This commit is contained in:
Brad King
2023-11-03 14:52:46 +00:00
committed by Kitware Robot
2 changed files with 4 additions and 4 deletions

View File

@@ -1311,6 +1311,7 @@ The following ``cmake -E`` commands are available only on Windows:
Write Windows registry value.
.. _`Find-Package Tool Mode`:
Run the Find-Package Tool
=========================

View File

@@ -5,10 +5,9 @@
CMakeFindPackageMode
--------------------
This file is executed by cmake when invoked with --find-package. It
expects that the following variables are set using -D:
This file is executed by cmake when invoked with
:ref:`--find-package <Find-Package Tool Mode>`.
It expects that the following variables are set using ``-D``:
``NAME``
name of the package