Help: Mention CMAKE_DISABLE_FIND_PACKAGE_<PackageName> in package docs.

This commit is contained in:
Stephen Kelly 2014-01-06 16:35:31 +01:00 committed by Brad King
parent 28c865bb22
commit 0b5bf8ad0b
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ or as a separate ``OPTIONAL_COMPONENTS`` list:
Handling of ``COMPONENTS`` and ``OPTIONAL_COMPONENTS`` is defined by the
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
--------------------