aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/FindKdepimLibs.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/FindKdepimLibs.cmake b/modules/FindKdepimLibs.cmake
new file mode 100644
index 00000000..514845c0
--- /dev/null
+++ b/modules/FindKdepimLibs.cmake
@@ -0,0 +1,9 @@
+# Find if we installed kdepimlibs before to compile it
+
+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" )
+endif(NOT KDEPIMLIBS_INCLUDE_DIR )