summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-01-06 15:35:31 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-07 14:38:00 (GMT)
commit0b5bf8ad0b55431969aadb94d6563f1b9c6cf2e6 (patch)
tree70fe5da029beb78e3fed3e461c956c906ba2a84d
parent28c865bb220882deab60091063ca7a1f8ab386f4 (diff)
downloadCMake-0b5bf8ad0b55431969aadb94d6563f1b9c6cf2e6.zip
CMake-0b5bf8ad0b55431969aadb94d6563f1b9c6cf2e6.tar.gz
CMake-0b5bf8ad0b55431969aadb94d6563f1b9c6cf2e6.tar.bz2
Help: Mention CMAKE_DISABLE_FIND_PACKAGE_<PackageName> in package docs.
-rw-r--r--Help/manual/cmake-packages.7.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/manual/cmake-packages.7.rst b/Help/manual/cmake-packages.7.rst
index 376ec78..3eda829 100644
--- a/Help/manual/cmake-packages.7.rst
+++ b/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
--------------------