diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-19 17:01:35 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-19 17:02:12 +0200 |
commit | ca22c863746eababadedac5a25f47b1ae5780d20 (patch) | |
tree | d8ec15c38a104a1d09755c8517a75087b825fee2 /src/CMakeLists.txt | |
parent | 8abab6618860f9d8688a4653de258c8673bfc662 (diff) | |
download | uca-ca22c863746eababadedac5a25f47b1ae5780d20.tar.gz uca-ca22c863746eababadedac5a25f47b1ae5780d20.tar.bz2 uca-ca22c863746eababadedac5a25f47b1ae5780d20.tar.xz uca-ca22c863746eababadedac5a25f47b1ae5780d20.zip |
Add Photon Focus
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 17 |
1 files changed, 11 insertions, 6 deletions
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() |