mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 12:55:45 +00:00
[cmake] Don't require Multimedia if YUZU_USE_QT_MULTIMEDIA is OFF
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
90aed07b12
commit
3b4adc6162
1 changed files with 1 additions and 3 deletions
|
@ -469,9 +469,7 @@ if (ENABLE_QT)
|
||||||
|
|
||||||
find_package(Qt6 REQUIRED COMPONENTS Widgets Concurrent Core5Compat)
|
find_package(Qt6 REQUIRED COMPONENTS Widgets Concurrent Core5Compat)
|
||||||
|
|
||||||
# QT6 Multimedia pulls in unneeded audio systems (ALSA, Pulseaudio) for FreeBSD
|
if (YUZU_USE_QT_MULTIMEDIA)
|
||||||
# ALSA is the default sound system on Linux, but FreeBSD uses OSS which works well enough
|
|
||||||
if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
|
||||||
find_package(Qt6 REQUIRED COMPONENTS Multimedia)
|
find_package(Qt6 REQUIRED COMPONENTS Multimedia)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue