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 Sep 28, 2024
1 parent 3fd7e80 commit 3ec9ea4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ find_package(Qt6
Xml
OPTIONAL_COMPONENTS
LinguistTools
MultimediaQuickPrivate
Quick3D
SerialPort
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 3ec9ea4

Please sign in to comment.