You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
524 B
22 lines
524 B
set(EXTRA_SOURCES) |
|
set(EXTRA_LIBRARIES) |
|
|
|
if (GST_FOUND) |
|
set(EXTRA_SOURCES gstqgc.c gstqgcvideosinkbin.c GStreamer.cc GStreamer.h GstVideoReceiver.cc GstVideoReceiver.h) |
|
set(EXTRA_LIBRARIES qmlglsink ${GST_LIBRARIES}) |
|
endif() |
|
|
|
add_library(VideoReceiver |
|
${EXTRA_SOURCES} |
|
VideoReceiver.h |
|
) |
|
|
|
target_link_libraries(VideoReceiver |
|
PUBLIC |
|
Qt5::Multimedia |
|
Qt5::OpenGL |
|
Qt5::Quick |
|
${EXTRA_LIBRARIES} |
|
) |
|
|
|
target_include_directories(VideoReceiver INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|