aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-10-24 17:13:39 +0000
committerLaurent Montel <montel@kde.org>2006-10-24 17:13:39 +0000
commit8307d4e385a6357561e61acdd0ddbc20e6696414 (patch)
tree2daaeb0e5a924e410924f252bc6198a0e97be702
parent0d610fb7adbb120b09d2be5893a80506e6074b1d (diff)
downloadextra-cmake-modules-8307d4e385a6357561e61acdd0ddbc20e6696414.tar.gz
extra-cmake-modules-8307d4e385a6357561e61acdd0ddbc20e6696414.tar.bz2
Perl binary is required
=> FATAL_ERROR when we don't have it. svn path=/trunk/KDE/kdelibs/; revision=598801
-rw-r--r--modules/FindKDE4Internal.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index fd7f23ab..341e27d0 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -200,6 +200,10 @@ endif (NOT QT_DBUSXML2CPP_EXECUTABLE)
# Perl is required for building KDE software,
find_package(Perl REQUIRED)
+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)