summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-24 10:11:06 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-24 10:11:06 +0100
commit8679c0a542085c52a8d7458f5d4ecad13ed7ca99 (patch)
tree4fcb9898fcc9610c3664c3cae936b7eb62f1706f /src/CMakeLists.txt
parent4d49de7e136a80819740f6aaada9c5881b083a50 (diff)
downloaduca-8679c0a542085c52a8d7458f5d4ecad13ed7ca99.tar.gz
uca-8679c0a542085c52a8d7458f5d4ecad13ed7ca99.tar.bz2
uca-8679c0a542085c52a8d7458f5d4ecad13ed7ca99.tar.xz
uca-8679c0a542085c52a8d7458f5d4ecad13ed7ca99.zip
Check for framegrabber software
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2167d7c..d319ac3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,7 +14,10 @@ set(uca_LIBS "")
# --- Find packages and libraries ---------------------------------------------
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
+# --- Find camera interfaces
find_package(PCO)
+
+# --- Find frame grabber interfaces
find_package(FgLib5)
find_package(ClSerMe4)
@@ -42,6 +45,10 @@ if(PCO_FOUND AND CLSERME4_FOUND AND FGLIB5_FOUND)
)
endif()
+if(CLSERME4_FOUND AND FGLIB5_FOUND)
+ set(HAVE_ME4_FRAMEGRABBER TRUE)
+endif()
+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
${CMAKE_CURRENT_BINARY_DIR}/config.h)