Add documentation for the CMAKE_DISABLE_FIND_PACKAGE_<Name> switch

Alex
This commit is contained in:
Alex Neundorf
2011-06-16 22:13:00 +02:00
parent 6e1d3edb4d
commit a66df08543
2 changed files with 18 additions and 0 deletions
+4
View File
@@ -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."
;