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 From b8679d1f1aca80f39fbb399151f9b8ac904a0be0 Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Tue, 28 Aug 2012 17:47:23 +0200 Subject: fix detection of libdexela. --- cmake/FindDEXELA.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/FindDEXELA.cmake') diff --git a/cmake/FindDEXELA.cmake b/cmake/FindDEXELA.cmake index b343e14..1fef7af 100644 --- a/cmake/FindDEXELA.cmake +++ b/cmake/FindDEXELA.cmake @@ -8,8 +8,8 @@ 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_path(DEXELA_INCLUDE_DIRS dexela_api.h PATHS /usr/include) +find_library(DEXELA_LIBRARIES dexela) find_package_handle_standard_args(DEXELA DEFAULT_MSG DEXELA_LIBRARIES DEXELA_INCLUDE_DIRS) -- cgit v1.2.3 From 8ce877dfe1dcf1fc1896142405c61a76d5b8b00f Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Tue, 30 Oct 2012 17:54:36 +0100 Subject: Fix incomplete committ... --- cmake/FindDEXELA.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake/FindDEXELA.cmake') diff --git a/cmake/FindDEXELA.cmake b/cmake/FindDEXELA.cmake index 1fef7af..0412b19 100644 --- a/cmake/FindDEXELA.cmake +++ b/cmake/FindDEXELA.cmake @@ -17,3 +17,5 @@ mark_as_advanced( DEXELA_INCLUDE_DIRS DEXELA_LIBRARIES ) + +message("-- Dexela libraries found: ${DEXELA_FOUND}") -- cgit v1.2.3