diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0dff5582d76ec5eebe5eb3c9811bc2fad993ea08..6be6af89e178158a353033b8ebb6eb10608a698e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -157,7 +157,6 @@ target_link_libraries(qgc comm FactSystem FirmwarePlugin - FlightDisplay FlightMap FollowMe Geo diff --git a/src/FlightDisplay/CMakeLists.txt b/src/FlightDisplay/CMakeLists.txt index 93dc18baa2d305226dbea1ce32520c5376ed0ae5..d7a3ea2bed73b6dab80dff7c580cf617d8dd7a55 100644 --- a/src/FlightDisplay/CMakeLists.txt +++ b/src/FlightDisplay/CMakeLists.txt @@ -1,13 +1,4 @@ -add_library(FlightDisplay - VideoManager.cc -) - -target_link_libraries(FlightDisplay - PRIVATE - qgc -) - add_custom_target(FligthDisplayQml SOURCES FlightDisplayView.qml @@ -28,5 +19,3 @@ SOURCES PreFlightSoundCheck.qml VirtualJoystick.qml ) - -target_include_directories(FlightDisplay PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/src/VideoStreaming/CMakeLists.txt b/src/VideoStreaming/CMakeLists.txt index 45f6805449d63df529a26406f7dd03be5e47fe21..7b142574f5dbf6bb58f9b46be0f41297b45b911b 100644 --- a/src/VideoStreaming/CMakeLists.txt +++ b/src/VideoStreaming/CMakeLists.txt @@ -13,6 +13,8 @@ add_library(VideoStreaming VideoReceiver.h VideoStreaming.cc VideoStreaming.h + VideoManager.cc + VideoManager.h ) target_link_libraries(VideoStreaming