diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 7 |
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) |