Browse Source
[cmake] Explicitly require Qt6::GuiPrivate on Linux
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/191/head
crueter
7 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
2 changed files with
2 additions and
2 deletions
-
CMakeLists.txt
-
src/yuzu/CMakeLists.txt
|
|
|
@ -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) |
|
|
|
|
|
|
|
@ -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 |
|
|
|
|