diff options
author | Brad King <brad.king@kitware.com> | 2003-07-08 03:20:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-08 03:20:30 (GMT) |
commit | ed273acfa7884c0b9dddf480deec9a263f536c85 (patch) | |
tree | 2b460ff524f41e032d165ef75e92aaeb6323a9f1 /CMakeLists.txt | |
parent | eb7b7dc1046dbc9d60e12a16d2ae3242328f85c0 (diff) | |
download | CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.zip CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.tar.gz CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.tar.bz2 |
ENH: Improved name of cmake version variables. They are now CMake_VERSION (major.minor) and CMake_VERSION_FULL (major.minor.patch).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2391150..7655d66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,8 +4,8 @@ PROJECT(CMake) 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}") +SET(CMake_VERSION "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") +SET(CMake_VERSION_FULL "${CMake_VERSION}.${CMake_VERSION_PATCH}") IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 1.4) IF(CMAKE_GENERATOR MATCHES "Visual Studio 7") |