From 6ef094c1a91d5ae50c56c8192f617f55eea25751 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Thu, 14 Apr 2022 22:23:35 +0200 Subject: 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 --- utils/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/CMakeLists.txt') diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index fc122426a2..55e5b7991f 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -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) -- cgit v1.2.3