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:
parent
dfa56765d6
commit
40644d43f7
16 changed files with 177 additions and 81 deletions
3
externals/CMakeLists.txt
vendored
3
externals/CMakeLists.txt
vendored
|
@ -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()
|
||||
|
|
4
externals/gamemode/CMakeLists.txt
vendored
4
externals/gamemode/CMakeLists.txt
vendored
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue