aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4Internal.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-01-28 21:00:21 +0000
committerAlexander Neundorf <neundorf@kde.org>2007-01-28 21:00:21 +0000
commit923ea3d1931fb19628575b453889e026b6a706fe (patch)
treea1ffdaf31f8d02722fd85cce7e3543ac97ea044c /modules/FindKDE4Internal.cmake
parent80f388401eb4233a5ca20ab4b1b5a6df3d1cc12a (diff)
downloadextra-cmake-modules-923ea3d1931fb19628575b453889e026b6a706fe.tar.gz
extra-cmake-modules-923ea3d1931fb19628575b453889e026b6a706fe.tar.bz2
-revert commit from Laurent, we have to discuss requiring cmake 2.4.5 (or 2.4.6) first before requiting it
Alex CCMAIL: montel@kde.org svn path=/trunk/KDE/kdelibs/; revision=628019
Diffstat (limited to 'modules/FindKDE4Internal.cmake')
-rw-r--r--modules/FindKDE4Internal.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index b04e912a..b9656886 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -207,7 +207,7 @@
INCLUDE (MacroEnsureVersion)
-cmake_minimum_required(VERSION 2.4.5 FATAL_ERROR)
+cmake_minimum_required(VERSION 2.4.3 FATAL_ERROR)
set(QT_MIN_VERSION "4.2.0")
#this line includes FindQt4.cmake, which searches the Qt library and headers
@@ -221,6 +221,11 @@ 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)