diff options
author | Brad King <brad.king@kitware.com> | 2003-02-14 02:57:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-02-14 02:57:05 (GMT) |
commit | 1fe42129d43d659f33ed72e63c26e7c9f8cf64d9 (patch) | |
tree | 14e46cb1e8dbb31338cf4fa0ed6f937a218ccb9c /CMakeLists.txt | |
parent | 170fe935d2cdcbfd02e4385a3ca5abf3bf4b4192 (diff) | |
download | CMake-1fe42129d43d659f33ed72e63c26e7c9f8cf64d9.zip CMake-1fe42129d43d659f33ed72e63c26e7c9f8cf64d9.tar.gz CMake-1fe42129d43d659f33ed72e63c26e7c9f8cf64d9.tar.bz2 |
ENH: Centralized setting of CMake version number to top-level CMake listfile.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f492ad..9ecd734 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,12 @@ PROJECT(CMake) +# The CMake version number. +SET(CMake_VERSION_MAJOR 1) +SET(CMake_VERSION_MINOR 7) +SET(CMake_VERSION_PATCH 0) +SET(CMake_VERSION_STRING + "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}") + IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 1.4) IF(CMAKE_GENERATOR MATCHES "Visual Studio 7") SET(CMAKE_SKIP_COMPATIBILITY_TESTS 1) |