aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindKdepimLibs.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/FindKdepimLibs.cmake b/modules/FindKdepimLibs.cmake
index 514845c0..b90809d5 100644
--- a/modules/FindKdepimLibs.cmake
+++ b/modules/FindKdepimLibs.cmake
@@ -1,9 +1,14 @@
# Find if we installed kdepimlibs before to compile it
+#TODO: use kcal/kcal.h, but it doesn't exist yet
FIND_PATH( KDEPIMLIBS_INCLUDE_DIR emailfunctions/email.h
${KDE4_INCLUDE_DIR}
)
if( NOT KDEPIMLIBS_INCLUDE_DIR )
- message( FATAL_ERROR "You didn't compile kdepimlibs before to compile it. Please install it" )
+ message(FATAL_ERROR "Could NOT find a kdepimlibs installation.\nPlease build and install kdepimlibs first.")
endif(NOT KDEPIMLIBS_INCLUDE_DIR )
+
+set(KDE4_EMAILFUNCTIONS_LIBS emailfunctions)
+set(KDE4_KCAL_LIBS kcal)
+set(KDE4_KTNEF_LIBS ktnef)