diff options
author | David Faure <faure@kde.org> | 2007-01-09 14:52:17 +0000 |
---|---|---|
committer | David Faure <faure@kde.org> | 2007-01-09 14:52:17 +0000 |
commit | cea260a3a7ab42cc40fd112904f619528f5fe512 (patch) | |
tree | 31ebfe987a631ceef9aa3bfeea4ee13c29b9ee5a | |
parent | a9174aa392c1020e706c225f672f0a8ce41138d5 (diff) | |
download | extra-cmake-modules-cea260a3a7ab42cc40fd112904f619528f5fe512.tar.gz extra-cmake-modules-cea260a3a7ab42cc40fd112904f619528f5fe512.tar.bz2 |
Since we only look there, tell the user where we looked.
svn path=/trunk/KDE/kdelibs/; revision=621698
-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) |