Browse Source

Help: Back-reference from find_package() to "Find Modules"

viz., to section "Find Modules" in cmake-modules.7
pull/324/head
Joachim Wuttke (o) 7 years ago
parent
commit
760c87c73c
  1. 5
      Help/command/find_package.rst

5
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;

Loading…
Cancel
Save