diff options
author | Brad King <brad.king@kitware.com> | 2009-01-03 20:48:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-01-03 20:48:13 (GMT) |
commit | 8df4340909b5f3659caebc6aadff06b7e9ea17c7 (patch) | |
tree | e264b38043cf5f5bd705a0d6f2999f1886113dd0 /Source | |
parent | cd7585df22070bb8367c6486086f933c10f4a1ec (diff) | |
download | CMake-8df4340909b5f3659caebc6aadff06b7e9ea17c7.zip CMake-8df4340909b5f3659caebc6aadff06b7e9ea17c7.tar.gz CMake-8df4340909b5f3659caebc6aadff06b7e9ea17c7.tar.bz2 |
ENH: Clarify FATAL_ERROR option to min-req command
The FATAL_ERROR to cmake_minimum_required is useful for projects that
require 2.6 to convince CMake 2.4 to error out. This clarifies its
usefulness in the documentation.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmCMakeMinimumRequired.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmCMakeMinimumRequired.h b/Source/cmCMakeMinimumRequired.h index 47243f8..0b2ecc6 100644 --- a/Source/cmCMakeMinimumRequired.h +++ b/Source/cmCMakeMinimumRequired.h @@ -77,9 +77,10 @@ public: "When version 2.4 or lower is given the command implicitly invokes\n" " cmake_policy(VERSION 2.4)\n" "which enables compatibility features for CMake 2.4 and lower.\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."; + "The FATAL_ERROR option is accepted but ignored by CMake 2.6 " + "and higher. " + "One may specify it so CMake versions 2.4 and lower fail with an " + "error instead of just a warning."; } cmTypeMacro(cmCMakeMinimumRequired, cmCommand); |