summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-10 09:04:26 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-10 09:04:26 +0100
commitc3b3cfd97b51bf6e6970156c92506cb6fa037b65 (patch)
tree20d7f07a0e394647e0e6ae162937b27c1ff2c0a3 /src/CMakeLists.txt
parent432d6083dd9cbe50579780c88206733776898e9d (diff)
downloadlibuca-c3b3cfd97b51bf6e6970156c92506cb6fa037b65.tar.gz
libuca-c3b3cfd97b51bf6e6970156c92506cb6fa037b65.tar.bz2
libuca-c3b3cfd97b51bf6e6970156c92506cb6fa037b65.tar.xz
libuca-c3b3cfd97b51bf6e6970156c92506cb6fa037b65.zip
Prepare integration of IPE camera
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6542d6e..dd0475e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,6 +25,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
# --- Find camera interfaces
find_package(PCO)
find_package(PF)
+find_package(IPE)
# --- Find frame grabber interfaces
find_package(FgLib5)
@@ -71,6 +72,24 @@ if(PCO_FOUND)
)
endif()
+if(IPE_FOUND)
+ set(HAVE_IPE_CAMERA TRUE)
+
+ set(uca_SRCS
+ ${uca_SRCS}
+ cameras/ipe.c
+ )
+
+ set(uca_LIBS
+ ${uca_LIBS}
+ ${IPE_LIBRARIES}
+ )
+ include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${IPE_INCLUDE_DIRS}
+ )
+endif()
+
if(CLSERME4_FOUND AND FGLIB5_FOUND)
set(HAVE_ME4 TRUE)