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

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

7 8 9 10
add_library(VideoStreaming
	VideoReceiver.cc
	VideoStreaming.cc
	SubtitleWriter.cc
11
  GLVideoItemStub.cc
12
)
13

14 15 16 17 18 19 20
target_link_libraries(VideoStreaming
	PUBLIC
		qgc
		Qt5::Multimedia
		Qt5::OpenGL
		${EXTRA_LIBRARIES}
)
21

22
target_include_directories(VideoStreaming INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})