summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakeMinimumRequired.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-14 22:16:14 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-14 22:16:14 (GMT)
commitaea456a91a49bca5da485f25e113de340a4dac20 (patch)
treef15dbb7ae888fadc44dd5437f48a7c880bdea635 /Source/cmCMakeMinimumRequired.h
parent6c89a96b867854cc8b3839d85efcc7733c0ddba7 (diff)
downloadCMake-aea456a91a49bca5da485f25e113de340a4dac20.zip
CMake-aea456a91a49bca5da485f25e113de340a4dac20.tar.gz
CMake-aea456a91a49bca5da485f25e113de340a4dac20.tar.bz2
ENH: Added FATAL_ERROR option and fixed check to not have floating point roundoff problems.
Diffstat (limited to 'Source/cmCMakeMinimumRequired.h')
-rw-r--r--Source/cmCMakeMinimumRequired.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCMakeMinimumRequired.h b/Source/cmCMakeMinimumRequired.h
index e3e6da9..402e289 100644
--- a/Source/cmCMakeMinimumRequired.h
+++ b/Source/cmCMakeMinimumRequired.h
@@ -65,11 +65,12 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " CMAKE_MINIMUM_REQUIRED(VERSION versionNumber)\n"
+ " CMAKE_MINIMUM_REQUIRED(VERSION versionNumber [FATAL_ERROR])\n"
"Let cmake know that the project requires a certain version of a "
"cmake, or newer. CMake will also try to be backwards compatible to "
"the version of cmake specified, if a newer version of cmake is "
- "running.";
+ "running. If FATAL_ERROR is given then failure to meet the "
+ "requirements will be considered an error instead of a warning.";
}
cmTypeMacro(cmCMakeMinimumRequired, cmCommand);