CMakeLists.txt 524 Bytes
Newer Older
1 2
set(EXTRA_LIBRARIES)

3
if (GST_FOUND)
4 5
	set(EXTRA_LIBRARIES ${GST_LIBRARIES})
endif()
6

7
add_library(VideoStreaming
8 9 10 11 12 13 14 15
    GLVideoItemStub.cc
    GLVideoItemStub.h
    SubtitleWriter.cc
    SubtitleWriter.h
    VideoReceiver.cc
    VideoReceiver.h
    VideoStreaming.cc
    VideoStreaming.h
16
)
17

18
target_link_libraries(VideoStreaming
19 20
        PRIVATE
                gst_plugins_good
21 22 23 24 25 26
	PUBLIC
		qgc
		Qt5::Multimedia
		Qt5::OpenGL
		${EXTRA_LIBRARIES}
)
27

28
target_include_directories(VideoStreaming INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})