diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-02-24 10:11:06 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-02-24 10:11:06 +0100 |
commit | 8679c0a542085c52a8d7458f5d4ecad13ed7ca99 (patch) | |
tree | 4fcb9898fcc9610c3664c3cae936b7eb62f1706f | |
parent | 4d49de7e136a80819740f6aaada9c5881b083a50 (diff) | |
download | libuca-8679c0a542085c52a8d7458f5d4ecad13ed7ca99.tar.gz libuca-8679c0a542085c52a8d7458f5d4ecad13ed7ca99.tar.bz2 libuca-8679c0a542085c52a8d7458f5d4ecad13ed7ca99.tar.xz libuca-8679c0a542085c52a8d7458f5d4ecad13ed7ca99.zip |
Check for framegrabber software
-rw-r--r-- | src/CMakeLists.txt | 7 | ||||
-rw-r--r-- | src/config.h.in | 1 |
2 files changed, 8 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) diff --git a/src/config.h.in b/src/config.h.in index 2a4abbb..c556dc3 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -1,4 +1,5 @@ +#cmakedefine HAVE_ME4_FRAMEGRABBER #cmakedefine HAVE_PCO_EDGE #cmakedefine HAVE_PHOTON_FOCUS #cmakedefine HAVE_IPE_CAMERA |