From f85327f951ad96a0fe41f473992d8f16cc2922cf Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Tue, 7 Aug 2012 16:12:03 +0200 Subject: First compiling version of dexela implementation. --- cmake/FindDEXELA.cmake | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 cmake/FindDEXELA.cmake (limited to 'cmake/FindDEXELA.cmake') 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 +) -- cgit v1.2.3