diff options
author | Dirk Mueller <mueller@kde.org> | 2007-05-21 14:02:59 +0000 |
---|---|---|
committer | Dirk Mueller <mueller@kde.org> | 2007-05-21 14:02:59 +0000 |
commit | ad8b13ba068d2f57796631684fa8c899a1533705 (patch) | |
tree | 25bb78489cbfd98f18b42caa176f336d7980ee66 | |
parent | 5c569916d64e29c81c2b8e2ecead3709d0a76a95 (diff) | |
download | extra-cmake-modules-ad8b13ba068d2f57796631684fa8c899a1533705.tar.gz extra-cmake-modules-ad8b13ba068d2f57796631684fa8c899a1533705.tar.bz2 |
a bit more readable output. still can't build anything though
svn path=/trunk/KDE/kdelibs/; revision=666993
-rw-r--r-- | modules/FindKDE4Internal.cmake | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index fae5c7c9..5fd32464 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -786,15 +786,15 @@ macro (KDE4_PRINT_RESULTS) # inside kdelibs the include dir and lib dir are internal, not "found" if (NOT _kdeBootStrapping) if(KDE4_INCLUDE_DIR) - message(STATUS "Found KDE4 include dir: ${KDE4_INCLUDE_DIR}") + message(STATUS "Found KDE 4.0 include dir: ${KDE4_INCLUDE_DIR}") else(KDE4_INCLUDE_DIR) - message(STATUS "Didn't find KDE4 headers") + message(STATUS "ERROR: unable to find KDE 4 headers") endif(KDE4_INCLUDE_DIR) if(KDE4_LIB_DIR) - message(STATUS "Found KDE4 library dir: ${KDE4_LIB_DIR}") + message(STATUS "Found KDE 4 library dir: ${KDE4_LIB_DIR}") else(KDE4_LIB_DIR) - message(STATUS "Didn't find KDE4 core library") + message(STATUS "ERROR: unable to find KDE 4 core library") endif(KDE4_LIB_DIR) endif (NOT _kdeBootStrapping) @@ -811,9 +811,13 @@ if (KDE4Internal_FIND_REQUIRED AND NOT KDE4_FOUND) kde4_print_results() if (NOT KDE4_INSTALLED_VERSION_OK) message(FATAL_ERROR "ERROR: the installed kdelibs version ${KDEVERSION} is too old, at least version ${KDE_MIN_VERSION} is required") - else (NOT KDE4_INSTALLED_VERSION_OK) - message(FATAL_ERROR "ERROR: could NOT find everything required for compiling KDE 4 programs") endif (NOT KDE4_INSTALLED_VERSION_OK) + + if (NOT KDE4_KCFGC_EXECUTABLE) + message(FATAL_ERROR "ERROR: could not detect a usable kconfig-compiler") + endif (NOT KDE4_KCFGC_EXECUTABLE) + + message(FATAL_ERROR "ERROR: could NOT find everything required for compiling KDE 4 programs") endif (KDE4Internal_FIND_REQUIRED AND NOT KDE4_FOUND) |