gst-plugin-linescan/sys/pleora/CMakeLists.txt

30 lines
673 B
CMake

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)