summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-26 13:40:02 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-10-26 13:40:09 (GMT)
commit216df68b32dbcc949109721dc2a1832f94195d67 (patch)
tree45cad266c769cb490419c363762b9d59367c7c2f /Help
parent6166384e3e279d9289c21e55ac124bf7b77c2355 (diff)
parent760c87c73c421329423b7669e00593aeb110c66d (diff)
downloadCMake-216df68b32dbcc949109721dc2a1832f94195d67.zip
CMake-216df68b32dbcc949109721dc2a1832f94195d67.tar.gz
CMake-216df68b32dbcc949109721dc2a1832f94195d67.tar.bz2
Merge topic 'xref1'
760c87c73c Help: Back-reference from find_package() to "Find Modules" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2531
Diffstat (limited to 'Help')
-rw-r--r--Help/command/find_package.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index 3ae9c2d..9395356 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -51,8 +51,9 @@ mode and "Config" mode. The above signature selects Module mode.
If no module is found the command falls back to Config mode, described
below. This fall back is disabled if the ``MODULE`` option is given.
-In Module mode, CMake searches for a file called ``Find<PackageName>.cmake``
-in the :variable:`CMAKE_MODULE_PATH` followed by the CMake installation.
+In Module mode, CMake searches for a file called ``Find<PackageName>.cmake``.
+The file is first searched in the :variable:`CMAKE_MODULE_PATH`,
+then among the :ref:`Find Modules` provided by the CMake installation.
If the file is found, it is read and processed by CMake. It is responsible
for finding the package, checking the version, and producing any needed
messages. Some find-modules provide limited or no support for versioning;