summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-06-16 20:13:00 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-06-23 09:09:41 (GMT)
commita66df0854361479bbfece06e4c0d9d975c084e71 (patch)
tree47f9fcaa4aa74ba176e5048be52a851407975056 /Source/cmFindPackageCommand.cxx
parent6e1d3edb4d1e1b491df879a2764d8a24442795dc (diff)
downloadCMake-a66df0854361479bbfece06e4c0d9d975c084e71.zip
CMake-a66df0854361479bbfece06e4c0d9d975c084e71.tar.gz
CMake-a66df0854361479bbfece06e4c0d9d975c084e71.tar.bz2
Add documentation for the CMAKE_DISABLE_FIND_PACKAGE_<Name> switch
Alex
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r--Source/cmFindPackageCommand.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index 554601d..9d1c220 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -335,6 +335,10 @@ void cmFindPackageCommand::GenerateDocumentation()
this->CommandDocumentation += this->GenericDocumentationPathsOrder;
this->CommandDocumentation +=
"\n"
+ "Every non-REQUIRED find_package() call can be disabled by setting the "
+ "variable CMAKE_DISABLE_FIND_PACKAGE_<package> to TRUE. See the "
+ "documentation for the CMAKE_DISABLE_FIND_PACKAGE_<package> variable for "
+ "more information.\n"
"See the cmake_policy() command documentation for discussion of the "
"NO_POLICY_SCOPE option."
;