Minor improvement for FindKDE4.cmake
Alexander Neundorf
neundorf at kde.org
Tue Mar 28 20:07:23 CEST 2006
On Tuesday 28 March 2006 17:23, David Faure wrote:
> 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)
Done
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the Kde-buildsystem
mailing list