yuzu: create linux group in general settings

- Create files dedicated to starting and stopping gamemode functions
  - Use them in yuzu and yuzu_cmd modules
This commit is contained in:
flodavid 2023-11-03 15:41:16 +01:00
parent e21bdc68db
commit 6bd3056c52
16 changed files with 177 additions and 81 deletions

View file

@ -189,8 +189,7 @@ if (ANDROID)
endif()
endif()
# Gamemode
if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
if (UNIX)
add_subdirectory(gamemode)
target_include_directories(gamemode PUBLIC gamemode/include)
endif()

View file

@ -4,4 +4,8 @@
project(gamemode)
add_library(gamemode include/gamemode_client.h)
target_link_libraries(gamemode PRIVATE common)
target_include_directories(gamemode PUBLIC include)
set_target_properties(gamemode PROPERTIES LINKER_LANGUAGE C)