summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.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/cmDocumentVariables.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/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index ea25e60..4e75f9c 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -719,6 +719,20 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
"Variables That Change Behavior");
cm->DefineProperty
+ ("CMAKE_DISABLE_FIND_PACKAGE_<PackageName>", cmProperty::VARIABLE,
+ "Variable for disabling find_package() calls.",
+ "Every non-REQUIRED find_package() call in a project can be disabled "
+ "by setting the variable CMAKE_DISABLE_FIND_PACKAGE_<PackageName> to "
+ "TRUE. This can be used to build a project without an optional package, "
+ "although that package is installed.\n"
+ "This switch should be used during the initial CMake run. Otherwise if "
+ "the package has already been found in a previous CMake run, the "
+ "variables which have been stored in the cache will still be there. "
+ "In the case it is recommended to remove the cache variables for "
+ "this package from the cache using the cache editor or cmake -U", false,
+ "Variables That Change Behavior");
+
+ cm->DefineProperty
("CMAKE_USER_MAKE_RULES_OVERRIDE", cmProperty::VARIABLE,
"Specify a CMake file that overrides platform information.",
"CMake loads the specified file while enabling support for each "