aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2007-01-27 12:31:12 +0000
committerLaurent Montel <montel@kde.org>2007-01-27 12:31:12 +0000
commit1f724d6c01e65eb2a068aea968d34c140589da29 (patch)
treed91382eb228db031e23d06d4b011184ab8b8e6c8
parent32675443733a47680db1299485bb46b20b8c5a8e (diff)
downloadextra-cmake-modules-1f724d6c01e65eb2a068aea968d34c140589da29.tar.gz
extra-cmake-modules-1f724d6c01e65eb2a068aea968d34c140589da29.tar.bz2
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
-rw-r--r--modules/FindKDE4Internal.cmake7
1 files changed, 1 insertions, 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)