[compat] use gui in non-linux unices
All checks were successful
eden-license / license-header (pull_request) Successful in 34s
All checks were successful
eden-license / license-header (pull_request) Successful in 34s
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
a310e55962
commit
193e915889
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue