Skip to content

Commit

Permalink
CMake: Find all packages in root CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Oct 1, 2024
1 parent 945c189 commit 9ab198e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@ find_package(Qt6
Xml
OPTIONAL_COMPONENTS
LinguistTools
MultimediaQuickPrivate
Quick3D
SerialPort
WaylandClient
HINTS
${QT_LIBRARY_HINTS}
)
Expand Down
2 changes: 1 addition & 1 deletion src/VideoManager/VideoReceiver/QtMultimedia/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ find_package(Qt6 REQUIRED COMPONENTS Core)

qt_add_library(QtMultimediaReceiver STATIC)

option(QGC_ENABLE_QT_VIDEOSTREAMING "Enable QtMultimedia Video Streaming Backend" ON)
option(QGC_ENABLE_QT_VIDEOSTREAMING "Enable QtMultimedia Video Streaming Backend" OFF)
cmake_print_variables(QGC_ENABLE_QT_VIDEOSTREAMING)
if(NOT QGC_ENABLE_QT_VIDEOSTREAMING)
return()
Expand Down

0 comments on commit 9ab198e

Please sign in to comment.