Browse Source
[compat] use gui in non-linux unices
Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/194/head
lizzie
7 months ago
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
3 additions and
1 deletions
-
CMakeLists.txt
|
|
@ -654,8 +654,10 @@ if (ENABLE_QT) |
|
|
find_package(Qt6 REQUIRED COMPONENTS Multimedia) |
|
|
find_package(Qt6 REQUIRED COMPONENTS Multimedia) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
if (UNIX AND NOT APPLE) |
|
|
|
|
|
|
|
|
if (CMAKE_SYSTEM_NAME STREQUAL "Linux") |
|
|
find_package(Qt6 REQUIRED COMPONENTS DBus GuiPrivate) |
|
|
find_package(Qt6 REQUIRED COMPONENTS DBus GuiPrivate) |
|
|
|
|
|
elseif (UNIX AND NOT APPLE) |
|
|
|
|
|
find_package(Qt6 REQUIRED COMPONENTS DBus Gui) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
if (ENABLE_QT_TRANSLATION) |
|
|
if (ENABLE_QT_TRANSLATION) |
|
|
|