Minor improvement for FindKDE4.cmake

David Faure faure at kde.org
Tue Mar 28 17:23:09 CEST 2006


Please apply to CMake/Modules/FindKDE4.cmake, thanks.

--- FindKDE4.cmake      16 Mar 2006 20:53:11 -0000      1.2
+++ FindKDE4.cmake      28 Mar 2006 15:06:59 -0000
@@ -61,12 +61,14 @@ IF (KDE4_KDECONFIG_EXECUTABLE)
       # use FindKDE4Internal.cmake to do the rest
       FIND_PACKAGE(KDE4Internal ${_req} ${_quiet})

+   ELSE (KDE4_DATA_DIR)
+      MESSAGE(FATAL_ERROR "ERROR: cmake/modules/FindKDE4Internal.cmake not found in ${_data_DIR}")
    ENDIF (KDE4_DATA_DIR)

 ENDIF (KDE4_KDECONFIG_EXECUTABLE)


 IF (KDE4_FIND_REQUIRED AND NOT KDE4_FOUND)
-   MESSAGE(FATAL_ERROR "Could not find KDE4")
+   MESSAGE(FATAL_ERROR "ERROR: Could not find KDE4")
 ENDIF (KDE4_FIND_REQUIRED AND NOT KDE4_FOUND)


-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list