summaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2012-03-23 11:57:17 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2012-03-23 11:57:17 (GMT)
commit3e736ff52044d76dabb0f88f2a8bad888b671052 (patch)
tree61511440b2033009ac92d8940812320033077c51 /cmake/modules
parent2a65c5e88e30b7ffef228f15abbf01b9a0bfbf92 (diff)
downloadlibkolabxml-3e736ff52044d76dabb0f88f2a8bad888b671052.tar.gz
Fix includes and library finding.
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindKDELibraries.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/cmake/modules/FindKDELibraries.cmake b/cmake/modules/FindKDELibraries.cmake
new file mode 100644
index 0000000..45e6c57
--- /dev/null
+++ b/cmake/modules/FindKDELibraries.cmake
@@ -0,0 +1,18 @@
+#Find some libraries
+find_library(KCALCORE_LIBRARY NAMES kcalcore)
+if(KCALCORE_LIBRARY)
+ set(KCALCORE_LIBRARY_FOUND ON)
+ message("KCalCore found")
+endif(KCALCORE_LIBRARY)
+
+find_library(KMIME_LIBRARY NAMES kmime)
+if(KMIME_LIBRARY)
+ set(KMIME_LIBRARY_FOUND ON)
+ message("KMime found")
+endif(KMIME_LIBRARY)
+
+find_library(KABC_LIBRARY NAMES kabc)
+if(KABC_LIBRARY)
+ set(KABC_LIBRARY_FOUND ON)
+ message("KABC found")
+endif(KABC_LIBRARY) \ No newline at end of file