summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMihael Koep <koep@schneide.com>2012-08-07 16:12:03 +0200
committerMihael Koep <koep@schneide.com>2012-08-28 17:36:32 +0200
commitf85327f951ad96a0fe41f473992d8f16cc2922cf (patch)
tree26ffb4a642f94a05a9dc056a8b269f75e90f241b /cmake
parent2723b1d644d72c535381a1da346e929d22e90369 (diff)
downloaduca-f85327f951ad96a0fe41f473992d8f16cc2922cf.tar.gz
uca-f85327f951ad96a0fe41f473992d8f16cc2922cf.tar.bz2
uca-f85327f951ad96a0fe41f473992d8f16cc2922cf.tar.xz
uca-f85327f951ad96a0fe41f473992d8f16cc2922cf.zip
First compiling version of dexela implementation.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindDEXELA.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/cmake/FindDEXELA.cmake b/cmake/FindDEXELA.cmake
new file mode 100644
index 0000000..b343e14
--- /dev/null
+++ b/cmake/FindDEXELA.cmake
@@ -0,0 +1,19 @@
+# Try to find libdexela.so
+#
+# Defines
+#
+# DEXELA_FOUND - system has libdexela
+# DEXELA_INCLUDE_DIRS - libdexela include directory
+# DEXELA_LIBRARIES - dexela library
+
+find_package(PackageHandleStandardArgs)
+
+find_path(DEXELA_INCLUDE_DIRS dexela_api.h PATHS /root/Dexela/include)
+find_library(DEXELA_LIBRARIES dexela PATHS /root/Dexela/dexela-spike)
+
+find_package_handle_standard_args(DEXELA DEFAULT_MSG DEXELA_LIBRARIES DEXELA_INCLUDE_DIRS)
+
+mark_as_advanced(
+ DEXELA_INCLUDE_DIRS
+ DEXELA_LIBRARIES
+)