From 4acbf04eb4cfbe4e5ea006c50984b1bb93ab201d Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 6 Jul 2007 17:05:13 +0000 Subject: Don't "FATAL" when package is not required svn path=/trunk/KDE/kdelibs/; revision=684463 --- modules/FindKdepimLibs.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/FindKdepimLibs.cmake b/modules/FindKdepimLibs.cmake index 4fd9833b..5cb601be 100644 --- a/modules/FindKdepimLibs.cmake +++ b/modules/FindKdepimLibs.cmake @@ -100,7 +100,6 @@ if( KDEPIMLIBS_INCLUDE_DIR ) set (KDE4_INCLUDES ${KDE4_INCLUDES} ${KDEPIMLIBS_INCLUDE_DIR}) else( KDEPIMLIBS_INCLUDE_DIR ) set(KDEPIMLIBS_FOUND FALSE) - message(FATAL_ERROR "Could NOT find a kdepimlibs installation in ${KDE4_INCLUDE_DIR}.\nPlease build and install kdepimlibs first.") endif( KDEPIMLIBS_INCLUDE_DIR ) if (KDEPIMLIBS_FOUND) @@ -109,7 +108,7 @@ if (KDEPIMLIBS_FOUND) endif (NOT KdepimLibs_FIND_QUIETLY) else (KDEPIMLIBS_FOUND) if (KdepimLibs_FIND_REQUIRED) - message(FATAL_ERROR "Could not find KDE PIM libraries") + message(FATAL_ERROR "Could NOT find a kdepimlibs installation in ${KDE4_INCLUDE_DIR}.\nPlease build and install kdepimlibs first.") endif (KdepimLibs_FIND_REQUIRED) endif (KDEPIMLIBS_FOUND) -- cgit v1.2.1