diff options
author | Laurent Montel <montel@kde.org> | 2007-07-06 17:05:13 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2007-07-06 17:05:13 +0000 |
commit | 4acbf04eb4cfbe4e5ea006c50984b1bb93ab201d (patch) | |
tree | 4c9f733233dfc22be4bda8ab0c8ea3eb66a3549e /modules | |
parent | ce182ad897473c2661139855e52ba0df9508b4bc (diff) | |
download | extra-cmake-modules-4acbf04eb4cfbe4e5ea006c50984b1bb93ab201d.tar.gz extra-cmake-modules-4acbf04eb4cfbe4e5ea006c50984b1bb93ab201d.tar.bz2 |
Don't "FATAL" when package is not required
svn path=/trunk/KDE/kdelibs/; revision=684463
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindKdepimLibs.cmake | 3 |
1 files changed, 1 insertions, 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) |