[cmake] Explicitly require Qt6::GuiPrivate on Linux
All checks were successful
eden-license / license-header (pull_request) Successful in 16s

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-08-03 12:05:02 -04:00
parent 9b2bb0e165
commit 2a706f7d88
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
2 changed files with 2 additions and 2 deletions

View file

@ -518,7 +518,7 @@ if (ENABLE_QT)
endif()
if (UNIX AND NOT APPLE)
find_package(Qt6 REQUIRED COMPONENTS DBus)
find_package(Qt6 REQUIRED COMPONENTS DBus GuiPrivate)
endif()
if (ENABLE_QT_TRANSLATION)

View file

@ -403,7 +403,7 @@ if (NOT WIN32)
target_include_directories(yuzu PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
endif()
if (UNIX AND NOT APPLE)
target_link_libraries(yuzu PRIVATE Qt6::DBus)
target_link_libraries(yuzu PRIVATE Qt6::DBus Qt6::GuiPrivate)
endif()
target_compile_definitions(yuzu PRIVATE