From 1f724d6c01e65eb2a068aea968d34c140589da29 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sat, 27 Jan 2007 12:31:12 +0000 Subject: as a lot of guy report problem to compile after changes which requires cmake >= 2.4.5 or use "-DKDE4_BUILD_TESTS=ON" it's better to signal minimum requires to 2.4.5. It's better to force update that developper doesn't understand why kde doesn't compile. 2.4.3 was release in july 2006 so all major distro have new version and 2.4.5 was released in december 2006 So it's time to upgrade it. svn path=/trunk/KDE/kdelibs/; revision=627620 --- modules/FindKDE4Internal.cmake | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 8a54f208..6ceea2c0 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -207,7 +207,7 @@ INCLUDE (MacroEnsureVersion) -cmake_minimum_required(VERSION 2.4.3 FATAL_ERROR) +cmake_minimum_required(VERSION 2.4.5 FATAL_ERROR) set(QT_MIN_VERSION "4.2.0") #this line includes FindQt4.cmake, which searches the Qt library and headers @@ -221,11 +221,6 @@ endif (NOT QT_DBUSXML2CPP_EXECUTABLE) # Perl is required for building KDE software, find_package(Perl REQUIRED) -# remove once we require cmake >= 2.4.4, then the REQUIRED flag is honored by FindPerl.cmake, Alex -if(NOT PERL_FOUND) - message(FATAL_ERROR "Perl was not found. Make sure it has installed on your system") -endif(NOT PERL_FOUND) - include (MacroLibrary) include (CheckCXXCompilerFlag) include (CheckCXXSourceCompiles) -- cgit v1.2.1