mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-10 21:38:07 -05:00
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:
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)
|
||||
|
Reference in New Issue
Block a user