Browse Source

Help: Mention CMAKE_DISABLE_FIND_PACKAGE_<PackageName> in package docs.

Stephen Kelly 11 years ago
parent
commit
0b5bf8ad0b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Help/manual/cmake-packages.7.rst

+ 4 - 0
Help/manual/cmake-packages.7.rst

@@ -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
 --------------------