Help: Mention CMAKE_DISABLE_FIND_PACKAGE_<PackageName> in package docs.

This commit is contained in:
Stephen Kelly
2014-01-07 09:38:00 -05:00
committed by Brad King
parent 28c865bb22
commit 0b5bf8ad0b
+4
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
--------------------