diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-07-28 22:11:42 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-07-28 22:11:42 +0000 |
commit | 8ffc474403fe1f7181d9d78c89e2b52010889887 (patch) | |
tree | 7df1b6a169436ce24e8a262ecd76b68e1010438e | |
parent | 129034d56614dd8a28092b9ebdf696a824ae8dfd (diff) | |
download | extra-cmake-modules-8ffc474403fe1f7181d9d78c89e2b52010889887.tar.gz extra-cmake-modules-8ffc474403fe1f7181d9d78c89e2b52010889887.tar.bz2 |
-print a reminder that starting next week at least cmake 2.6.0 is required for building KDE 4 trunk
Hint: you can easily install multiple versions of cmake by just putting them into separate directories
and then calling them initially with the full path: /opt/cmake-2.6.0/bin/cmake ...
Alex
svn path=/trunk/KDE/kdelibs/; revision=838859
-rw-r--r-- | modules/FindKDE4Internal.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 48692482..7946ab16 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -235,6 +235,16 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" STREQUAL "2.5") message(FATAL_ERROR "You are using CMake 2.5, which was the unreleased development version between 2.4 and 2.6. This is no longer supported. Please update to CMake 2.6 or current cvs HEAD.") endif("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" STREQUAL "2.5") +# print a reminder to update cmake to at least 2.6.0 +if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS "2.6") + message(STATUS " +************************************************************************ +From August 4th CMake >= 2.6.0 will be required, please update your CMake, e.g. from http://www.cmake.org/HTML/Download.html . +************************************************************************ +") +endif ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS "2.6") + + # CMake 2.6, set compatibility behaviour to cmake 2.4 # this must be executed always, because the CMAKE_MINIMUM_REQUIRED() command above # resets the policy settings, so we get a lot of warnings |