gst-plugin-linescan/gst/select/CMakeLists.txt
2020-04-14 16:17:45 -04:00

31 lines
640 B
CMake

set (SOURCES
gstselect.c
)
set (HEADERS
gstselect.h)
include_directories (AFTER
${ORC_INCLUDE_DIR})
set (libname gstselect)
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
target_link_libraries (${libname}
${ORC_LIBRARIES}
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY})
if (WIN32)
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/lib${libname}.pdb")
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0 COMPONENT pdb)
endif()
install(TARGETS ${libname}
LIBRARY DESTINATION lib/gstreamer-1.0)