From 8307d4e385a6357561e61acdd0ddbc20e6696414 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Tue, 24 Oct 2006 17:13:39 +0000 Subject: Perl binary is required => FATAL_ERROR when we don't have it. svn path=/trunk/KDE/kdelibs/; revision=598801 --- modules/FindKDE4Internal.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') 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) -- cgit v1.2.1