From ddb9c6626632bd2060fc3f8b4ebe7a0c245c8948 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 7 Feb 2020 12:57:54 +0100 Subject: [PATCH] Fixed cmake for VideoStreaming library --- src/VideoStreaming/CMakeLists.txt | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/src/VideoStreaming/CMakeLists.txt b/src/VideoStreaming/CMakeLists.txt index 7b1dbcecd..d9d5daee9 100644 --- a/src/VideoStreaming/CMakeLists.txt +++ b/src/VideoStreaming/CMakeLists.txt @@ -1,40 +1,14 @@ set(EXTRA_LIBRARIES) if (GST_FOUND) - include_directories( - gstqtvideosink/utils/ - ) - - set(EXTRA_SRC - gstqtvideosink/delegates/basedelegate.cpp - gstqtvideosink/delegates/qtquick2videosinkdelegate.cpp - gstqtvideosink/delegates/qtvideosinkdelegate.cpp - gstqtvideosink/delegates/qwidgetvideosinkdelegate.cpp - gstqtvideosink/gstqtglvideosink.cpp - gstqtvideosink/gstqtglvideosinkbase.cpp - gstqtvideosink/gstqtquick2videosink.cpp - gstqtvideosink/gstqtvideosink.cpp - gstqtvideosink/gstqtvideosinkbase.cpp - gstqtvideosink/gstqtvideosinkplugin.cpp - gstqtvideosink/gstqwidgetvideosink.cpp - gstqtvideosink/gstqtvideosinkmarshal.c - gstqtvideosink/painters/genericsurfacepainter.cpp - gstqtvideosink/painters/openglsurfacepainter.cpp - gstqtvideosink/painters/videomaterial.cpp - gstqtvideosink/painters/videonode.cpp - gstqtvideosink/utils/bufferformat.cpp - gstqtvideosink/utils/utils.cpp - ) set(EXTRA_LIBRARIES ${GST_LIBRARIES}) endif() add_library(VideoStreaming - VideoItem.cc VideoReceiver.cc VideoStreaming.cc - VideoSurface.cc SubtitleWriter.cc - ${EXTRA_SRC} + GLVideoItemStub.cc ) target_link_libraries(VideoStreaming -- 2.22.0