yuzu: integrate gamemode support on linux

This commit is contained in:
xcfrg 2023-07-16 18:45:33 -04:00 committed by flodavid
parent 9485b44d25
commit e21bdc68db
11 changed files with 481 additions and 1 deletions

View file

@ -386,7 +386,7 @@ if (NOT WIN32)
target_include_directories(yuzu PRIVATE ${Qt${QT_MAJOR_VERSION}Gui_PRIVATE_INCLUDE_DIRS})
endif()
if (UNIX AND NOT APPLE)
target_link_libraries(yuzu PRIVATE Qt${QT_MAJOR_VERSION}::DBus)
target_link_libraries(yuzu PRIVATE Qt${QT_MAJOR_VERSION}::DBus gamemode)
endif()
target_compile_definitions(yuzu PRIVATE