diff options
author | Brad King <brad.king@kitware.com> | 2010-04-23 13:50:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-04-23 13:50:02 (GMT) |
commit | 378acb1d4d280bdfba45d8c524e55e4b6714255d (patch) | |
tree | 82c23b6359d9ce8f77bd08d00114ffb9662829cb /Source/cmCMakeMinimumRequired.h | |
parent | 5bfffd6f295678aedd53a53da77e0eaaafc21140 (diff) | |
download | CMake-378acb1d4d280bdfba45d8c524e55e4b6714255d.zip CMake-378acb1d4d280bdfba45d8c524e55e4b6714255d.tar.gz CMake-378acb1d4d280bdfba45d8c524e55e4b6714255d.tar.bz2 |
Teach cmake_minimum_required about tweak version
The command now accepts four version components in the format
major[.minor[.patch[.tweak]]]
This corresponds to the new versioning scheme introduced recently.
Diffstat (limited to 'Source/cmCMakeMinimumRequired.h')
-rw-r--r-- | Source/cmCMakeMinimumRequired.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCMakeMinimumRequired.h b/Source/cmCMakeMinimumRequired.h index 05c2505..9bf7ef8 100644 --- a/Source/cmCMakeMinimumRequired.h +++ b/Source/cmCMakeMinimumRequired.h @@ -61,13 +61,13 @@ public: virtual const char* GetFullDocumentation() { return - " cmake_minimum_required(VERSION major[.minor[.patch]]\n" + " cmake_minimum_required(VERSION major[.minor[.patch[.tweak]]]\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. " "When a version higher than 2.4 is specified the command implicitly " "invokes\n" - " cmake_policy(VERSION major[.minor[.patch]])\n" + " cmake_policy(VERSION major[.minor[.patch[.tweak]]])\n" "which sets the cmake policy version level to the version specified. " "When version 2.4 or lower is given the command implicitly invokes\n" " cmake_policy(VERSION 2.4)\n" |