aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <winter@kde.org>2006-07-05 19:22:34 +0000
committerAllen Winter <winter@kde.org>2006-07-05 19:22:34 +0000
commited05031001cff71b2358d3c9189fc8b685122d56 (patch)
tree67d7e16bbb38999391a22e0f5d5243c3a241e4cb
parent13c3bfee882d68b4bd7ad84d4ce7db7ed4e01164 (diff)
downloadextra-cmake-modules-ed05031001cff71b2358d3c9189fc8b685122d56.tar.gz
extra-cmake-modules-ed05031001cff71b2358d3c9189fc8b685122d56.tar.bz2
merge the settings from FindKDEPIMLibs.cmake, which I will be removing ASAP.
svn path=/trunk/KDE/kdelibs/; revision=558658
-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)