Browse Source

[cmake] Don't require Multimedia if YUZU_USE_QT_MULTIMEDIA is OFF

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/71/head
crueter 8 months ago
parent
commit
3b4adc6162
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 4
      CMakeLists.txt

4
CMakeLists.txt

@ -469,9 +469,7 @@ if (ENABLE_QT)
find_package(Qt6 REQUIRED COMPONENTS Widgets Concurrent Core5Compat)
# QT6 Multimedia pulls in unneeded audio systems (ALSA, Pulseaudio) for FreeBSD
# ALSA is the default sound system on Linux, but FreeBSD uses OSS which works well enough
if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
if (YUZU_USE_QT_MULTIMEDIA)
find_package(Qt6 REQUIRED COMPONENTS Multimedia)
endif()

Loading…
Cancel
Save