summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-23 09:24:44 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-23 09:24:44 +0100
commitd69b1e834cc1558ff117688da7030dabd22099fa (patch)
treef2020a161aefc73b789386a1c38e5a260b600ee6 /src/CMakeLists.txt
parent29aec734715f7c4d6b8157ac514eff4fd8dd0242 (diff)
downloadlibuca-d69b1e834cc1558ff117688da7030dabd22099fa.tar.gz
libuca-d69b1e834cc1558ff117688da7030dabd22099fa.tar.bz2
libuca-d69b1e834cc1558ff117688da7030dabd22099fa.tar.xz
libuca-d69b1e834cc1558ff117688da7030dabd22099fa.zip
Do something meaningful and check for frame grabber library
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index dde0a01..2167d7c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -15,10 +15,11 @@ set(uca_LIBS "")
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
find_package(PCO)
+find_package(FgLib5)
find_package(ClSerMe4)
# --- Add sources if camera access sources are available ----------------------
-if(PCO_FOUND AND CLSERME4_FOUND)
+if(PCO_FOUND AND CLSERME4_FOUND AND FGLIB5_FOUND)
set(HAVE_PCO_EDGE TRUE)
set(uca_SRCS
@@ -29,12 +30,14 @@ if(PCO_FOUND AND CLSERME4_FOUND)
set(uca_LIBS
${uca_LIBS}
${CLSERME4_LIBRARY}
+ ${FGLIB5_LIBRARY}
${PCO_LIBRARIES}
)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CLSERME4_INCLUDE_DIR}
+ ${FGLIB5_INCLUDE_DIR}
${PCO_INCLUDE_DIRS}
)
endif()