From 760c87c73c421329423b7669e00593aeb110c66d Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" Date: Thu, 25 Oct 2018 21:23:34 +0200 Subject: Help: Back-reference from find_package() to "Find Modules" viz., to section "Find Modules" in cmake-modules.7 --- Help/command/find_package.rst | 5 +++-- 1 file 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.cmake`` -in the :variable:`CMAKE_MODULE_PATH` followed by the CMake installation. +In Module mode, CMake searches for a file called ``Find.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; -- cgit v0.12