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
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
1 additions and
3 deletions
-
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() |
|
|
|
|
|
|
|
|