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
parent
commit
193e915889
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 4
      CMakeLists.txt

4
CMakeLists.txt

@ -654,8 +654,10 @@ if (ENABLE_QT)
find_package(Qt6 REQUIRED COMPONENTS Multimedia)
endif()
if (UNIX AND NOT APPLE)
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
find_package(Qt6 REQUIRED COMPONENTS DBus GuiPrivate)
elseif (UNIX AND NOT APPLE)
find_package(Qt6 REQUIRED COMPONENTS DBus Gui)
endif()
if (ENABLE_QT_TRANSLATION)

Loading…
Cancel
Save