[cmake] Explicitly require Qt6::GuiPrivate on Linux
All checks were successful
eden-license / license-header (pull_request) Successful in 16s
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:
parent
9b2bb0e165
commit
2a706f7d88
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue