diff options
author | Matthias Vogelgesang <matthias@ipepdvpc2> | 2011-03-04 16:35:32 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias@ipepdvpc2> | 2011-03-04 16:35:32 +0100 |
commit | 9abc67deeb2912b54d8015bf11247adc36fc6247 (patch) | |
tree | 6d017e821a63e2b6426403104d96ef61cd574bc1 /src | |
parent | ba34fc549873b52f4c78e44c1f71adfc2980bf48 (diff) | |
download | uca-9abc67deeb2912b54d8015bf11247adc36fc6247.tar.gz uca-9abc67deeb2912b54d8015bf11247adc36fc6247.tar.bz2 uca-9abc67deeb2912b54d8015bf11247adc36fc6247.tar.xz uca-9abc67deeb2912b54d8015bf11247adc36fc6247.zip |
Integrate photon focus libraries
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 835d1a5..33e7b5e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -24,6 +24,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) # --- Find camera interfaces find_package(PCO) +find_package(PF) # --- Find frame grabber interfaces find_package(FgLib5) @@ -32,12 +33,23 @@ find_package(ClSerMe4) # --- Add sources if camera/framegrabber access sources are available --------- # FIXME: create some kind of libphoton and search for it -set(HAVE_PHOTON_FOCUS TRUE) -if(HAVE_PHOTON_FOCUS) +if (PF_FOUND) + set(HAVE_PHOTON_FOCUS TRUE) + set(uca_SRCS ${uca_SRCS} cameras/pf.c ) + + set(uca_LIBS + ${uca_LIBS} + ${PF_LIBRARIES} + ) + + include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${PF_INCLUDE_DIRS} + ) endif() if(PCO_FOUND) |