summaryrefslogtreecommitdiffstats
path: root/Help/command/find_package.rst
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-05-18 12:15:03 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-18 16:43:58 (GMT)
commit98af010b5c8857d59912595bced08c9dab0b7d18 (patch)
tree935ea766b4c6b68ac76bfb4735ee8743038ad002 /Help/command/find_package.rst
parent9f469d533d4532bcbea350052b5a7054e94c7de0 (diff)
downloadCMake-98af010b5c8857d59912595bced08c9dab0b7d18.zip
CMake-98af010b5c8857d59912595bced08c9dab0b7d18.tar.gz
CMake-98af010b5c8857d59912595bced08c9dab0b7d18.tar.bz2
Help: Avoid duplicating registry query syntax in multiple find_* commands
In commit 8d7e80cf3d (find_* commands: add control over Windows registry views, 2022-04-16) we added documentation that is repeated by multiple find commands. Move it to a dedicated manual section to avoid duplication.
Diffstat (limited to 'Help/command/find_package.rst')
-rw-r--r--Help/command/find_package.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index 8ce6529..a7d7d00 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -309,10 +309,9 @@ that order).
.. versionchanged:: 3.24
On ``Windows`` platform, it is possible to include registry queries as part
- of the directories specified through ``HINTS`` and ``PATHS`` keywords. Such
- specifications will be ignored on all other platforms.
-
-.. include:: FIND_XXX_REGISTRY_QUERY.txt
+ of the directories specified through ``HINTS`` and ``PATHS`` keywords, using
+ a :ref:`dedicated syntax <Find Using Windows Registry>`. Such specifications
+ will be ignored on all other platforms.
.. versionadded:: 3.24
``REGISTRY_VIEW`` can be specified to manage ``Windows`` registry queries