summaryrefslogtreecommitdiffstats
path: root/plugins/pylon/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pylon/CMakeLists.txt')
-rw-r--r--plugins/pylon/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/pylon/CMakeLists.txt b/plugins/pylon/CMakeLists.txt
index f45ef76..1f56f06 100644
--- a/plugins/pylon/CMakeLists.txt
+++ b/plugins/pylon/CMakeLists.txt
@@ -10,9 +10,16 @@ if (PYLON_FOUND)
${CMAKE_CURRENT_BINARY_DIR}/../../package-plugin-${UCA_CAMERA_NAME}.sh)
include_directories(${LIBPYLONCAM_INCLUDEDIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
${UCA_CONFIGDIR})
+ create_enums(uca-pylon-enums
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../src/uca-enums
+ uca-pylon-camera.h)
+
add_library(ucapylon SHARED
+ uca-pylon-enums.c
uca-pylon-camera.c)
target_link_libraries(ucapylon