mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
rbutil: Make QtMultimedia an optional component.
We only use it for playing the TTS sample so it's not too important. Since this is a separate Qt module it might not be installed, so make it optional. Change-Id: I2c91dd5d587c8a984525b2297bbe7d597b816b4f
This commit is contained in:
parent
8a6ceff376
commit
6ef094c1a9
2 changed files with 9 additions and 3 deletions
|
|
@ -52,8 +52,8 @@ if(QT_VERSION_MAJOR EQUAL 5)
|
|||
Core Widgets Svg Multimedia Network Test LinguistTools)
|
||||
else()
|
||||
find_package(Qt6 REQUIRED COMPONENTS
|
||||
Core Core5Compat Widgets Svg Multimedia Network LinguistTools SvgWidgets
|
||||
OPTIONAL_COMPONENTS Test)
|
||||
Core Core5Compat Widgets Svg Network LinguistTools SvgWidgets
|
||||
OPTIONAL_COMPONENTS Multimedia Test)
|
||||
endif()
|
||||
get_target_property(_moc_executable Qt${QT_VERSION_MAJOR}::moc IMPORTED_LOCATION)
|
||||
get_filename_component(QT_BINDIR "${_moc_executable}" DIRECTORY)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue