pleorasrc: initial working plugin for Pleora eBUS SDK U3V and GEV cameras
This commit is contained in:
30
sys/pleora/CMakeLists.txt
Normal file
30
sys/pleora/CMakeLists.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
add_definitions(-D_XKEYCHECK_H)
|
||||
|
||||
set (SOURCES
|
||||
gstpleorasrc.cpp)
|
||||
|
||||
set (HEADERS
|
||||
gstpleorasrc.h)
|
||||
|
||||
include_directories (AFTER
|
||||
${PLEORA_INCLUDE_DIR})
|
||||
|
||||
set (libname libgstpleora)
|
||||
|
||||
link_directories(${PLEORA_LIBRARIES_DIR})
|
||||
|
||||
add_library (${libname} MODULE
|
||||
${SOURCES}
|
||||
${HEADERS})
|
||||
|
||||
target_link_libraries (${libname}
|
||||
${GLIB2_LIBRARIES}
|
||||
${GOBJECT_LIBRARIES}
|
||||
${GSTREAMER_LIBRARY}
|
||||
${GSTREAMER_BASE_LIBRARY}
|
||||
${GSTREAMER_VIDEO_LIBRARY})
|
||||
|
||||
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0 COMPONENT pdb)
|
||||
install(TARGETS ${libname}
|
||||
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||
Reference in New Issue
Block a user