From 8df4340909b5f3659caebc6aadff06b7e9ea17c7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 3 Jan 2009 15:48:13 -0500 Subject: 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. --- Source/cmCMakeMinimumRequired.h | 7 ++++--- 1 file 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); -- cgit v0.12