diff options
-rw-r--r-- | modules/FindKdepimLibs.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/FindKdepimLibs.cmake b/modules/FindKdepimLibs.cmake index 6cd94aea..a0020d8e 100644 --- a/modules/FindKdepimLibs.cmake +++ b/modules/FindKdepimLibs.cmake @@ -32,11 +32,11 @@ if( KDEPIMLIBS_INCLUDE_DIR ) find_library(KDE4_SYNDICATION_LIBS syndication PATHS ${KDE4_LIB_DIR} NO_DEFAULT_PATH) find_library(KDE4_KLDAP_LIBS kldap PATHS ${KDE4_LIB_DIR} NO_DEFAULT_PATH) find_library(KDE4_KMIME_LIBS kmime PATHS ${KDE4_LIB_DIR} NO_DEFAULT_PATH) - # setup global used KDE include
- set (KDE4_INCLUDES ${KDE4_INCLUDES} ${KDEPIMLIBS_INCLUDE_DIR})
+ # setup global used KDE include + 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.\nPlease build and install kdepimlibs first.") + 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) |