gst-plugin-linescan/sys/sapera/CMakeLists.txt
Joshua M. Doe 4ebc6b8c77 build: consistently have libgst prefix on all plugins
Before this, on Linux there'd be a liblibgst prefix
2020-04-14 16:17:45 -04:00

28 lines
617 B
CMake

set (SOURCES
gstsaperasrc.cpp)
set (HEADERS
gstsaperasrc.h)
include_directories (AFTER
${SAPERA_INCLUDE_DIR})
set (libname gstsapera)
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
target_link_libraries (${libname}
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY}
${SAPERA_LIBRARIES})
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)