summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorVolker Kaiser <volker.kaiser@softwareschneiderei.de>2012-08-01 14:06:50 +0200
committerVolker Kaiser <volker.kaiser@softwareschneiderei.de>2012-08-01 14:06:50 +0200
commit0b5720d0414f7e9f196664677899e999179a49f6 (patch)
treefb070d27abbbe0dccc23a85b34ce1b6239c4222b /src/CMakeLists.txt
parent7c5a0bdefd27180da32aaaf9b1331c69c66e1693 (diff)
downloadlibuca-0b5720d0414f7e9f196664677899e999179a49f6.tar.gz
libuca-0b5720d0414f7e9f196664677899e999179a49f6.tar.bz2
libuca-0b5720d0414f7e9f196664677899e999179a49f6.tar.xz
libuca-0b5720d0414f7e9f196664677899e999179a49f6.zip
extracted pylon_camera C-wrapper into own project; enhanced cmake build for pylon cameras
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 931ca9b..13d677a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -15,7 +15,7 @@ set(cameras)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
# --- Find camera interfaces
-#find_package(PCO)
+find_package(PCO)
find_package(PF)
find_package(IPE)
find_package(Pylon)
@@ -96,13 +96,12 @@ if (PYLON_FOUND)
option(HAVE_PYLON_CAMERA "Camera: Pylon based (Basler)" ON)
if (HAVE_PYLON_CAMERA)
- list(APPEND uca_SRCS cameras/uca-pylon-camera.c cameras/pylon_camera.cpp)
+ list(APPEND uca_SRCS cameras/uca-pylon-camera.c)
list(APPEND uca_HDRS cameras/uca-pylon-camera.h)
list(APPEND cameras "Pylon")
- set(uca_LIBS ${uca_LIBS} ${PYLON_LIBS})
+ set(uca_LIBS ${uca_LIBS} ${PYLON_LIB})
- include_directories(${PYLON_INCLUDE_DIRS})
- link_directories(/opt/pylon/lib64)
+ include_directories(${PYLON_INCLUDE_DIR})
endif()
endif()