mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-03 22:30:29 +00:00
Help: Mention CMAKE_DISABLE_FIND_PACKAGE_<PackageName> in package docs.
This commit is contained in:
@@ -72,6 +72,10 @@ or as a separate ``OPTIONAL_COMPONENTS`` list:
|
|||||||
Handling of ``COMPONENTS`` and ``OPTIONAL_COMPONENTS`` is defined by the
|
Handling of ``COMPONENTS`` and ``OPTIONAL_COMPONENTS`` is defined by the
|
||||||
package.
|
package.
|
||||||
|
|
||||||
|
By setting the :variable:`CMAKE_DISABLE_FIND_PACKAGE_<PackageName>` variable to
|
||||||
|
``TRUE``, the ``PackageName`` package will not be searched, and will always
|
||||||
|
be ``NOTFOUND``.
|
||||||
|
|
||||||
Config-file Packages
|
Config-file Packages
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user