From 8ffc474403fe1f7181d9d78c89e2b52010889887 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 28 Jul 2008 22:11:42 +0000 Subject: -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 --- modules/FindKDE4Internal.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules') 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 -- cgit v1.2.1