diff options
author | Brad King <brad.king@kitware.com> | 2008-03-04 23:42:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-04 23:42:06 (GMT) |
commit | 2f922c6220704490912ce78a7dc5c8e07532b582 (patch) | |
tree | 1b9554393070c9769627f16c7e34864c4e49e44b /Source/cmCMakeMinimumRequired.h | |
parent | 53e0ed3273c1a4a8f304f482220a474c3bc0e689 (diff) | |
download | CMake-2f922c6220704490912ce78a7dc5c8e07532b582.zip CMake-2f922c6220704490912ce78a7dc5c8e07532b582.tar.gz CMake-2f922c6220704490912ce78a7dc5c8e07532b582.tar.bz2 |
ENH: Make CMAKE_MINIMUM_REQUIRED command FATAL_ERROR option implicit (always on). Accept but ignore the existing option.
Diffstat (limited to 'Source/cmCMakeMinimumRequired.h')
-rw-r--r-- | Source/cmCMakeMinimumRequired.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Source/cmCMakeMinimumRequired.h b/Source/cmCMakeMinimumRequired.h index 0fdd408..d7a1b7e 100644 --- a/Source/cmCMakeMinimumRequired.h +++ b/Source/cmCMakeMinimumRequired.h @@ -66,12 +66,13 @@ public: virtual const char* GetFullDocumentation() { return - " 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. If FATAL_ERROR is given then failure to meet the " - "requirements will be considered an error instead of a warning."; + " cmake_minimum_required(VERSION major[.minor[.patch]]\n" + " [FATAL_ERROR])\n" + "If the current version of CMake is lower than that required " + "it will stop processing the project and report an error.\n" + "The FATAL_ERROR option is accepted but ignored. It is left from " + "CMake versions 2.4 and lower in which failure to meet the minimum " + "version was a warning by default."; } cmTypeMacro(cmCMakeMinimumRequired, cmCommand); |