summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
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 /src/CMakeLists.txt
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 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9508c5c..94de82d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -18,6 +18,7 @@ find_package(PCO)
find_package(PF)
find_package(IPE)
find_package(Pylon)
+find_package(DEXELA)
# --- Find frame grabber interfaces
find_package(FgLib5)
@@ -103,7 +104,20 @@ if (PYLON_FOUND)
include_directories(${LIBPYLONCAM_INCLUDEDIR})
link_directories(${LIBPYLONCAM_LIBDIR})
endif()
+endif()
+
+if (DEXELA_FOUND)
+ option(HAVE_DEXELA_CL "Camera: CameraLink-based dexela detector" ON)
+
+ if (HAVE_DEXELA_CL)
+ list(APPEND uca_SRCS cameras/uca-dexela-camera.c)
+ list(APPEND uca_HDRS cameras/uca-dexela-camera.h)
+ list(APPEND cameras "Ufo")
+
+ set(uca_LIBS ${uca_LIBS} ${DEXELA_LIBRARIES})
+ include_directories(${DEXELA_INCLUDE_DIRS})
+ endif()
endif()
if (HAVE_MOCK_CAMERA)