From ca22c863746eababadedac5a25f47b1ae5780d20 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 19 Apr 2012 17:01:35 +0200 Subject: Add Photon Focus --- src/CMakeLists.txt | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 249296b..a2d118e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -41,12 +41,17 @@ option(HAVE_MOCK_CAMERA "Camera: Dummy" ON) if (PF_FOUND) option(HAVE_PHOTON_FOCUS "Camera: Photon Focus MV2-D1280-640-CL-8" ON) - if (HAVE_PHOTON_FOCUS) - #set(uca_SRCS ${uca_SRCS} cameras/uca-pf-camera.c) - #set(uca_HDRS ${uca_HDRS} cameras/uca-pf-camera.h) - set(uca_LIBS ${uca_LIBS} ${PF_LIBRARIES}) - - include_directories(${PF_INCLUDE_DIRS}) + if (HAVE_PHOTON_FOCUS AND CLSERME4_FOUND AND FGLIB5_FOUND) + set(uca_SRCS ${uca_SRCS} cameras/uca-pf-camera.c) + set(uca_HDRS ${uca_HDRS} cameras/uca-pf-camera.h) + set(uca_LIBS ${uca_LIBS} + ${CLSERME4_LIBRARY} + ${FGLIB5_LIBRARY} + ${PF_LIBRARIES}) + + include_directories(${PF_INCLUDE_DIRS} + ${CLSERME4_INCLUDE_DIR} + ${FGLIB5_INCLUDE_DIR}) endif() endif() -- cgit v1.2.3