Skip to content

Commit

Permalink
Port yuzu-emu/yuzu#11946: "Enable (Feral Interactive) Gamemode on Lin…
Browse files Browse the repository at this point in the history
…ux" (#7245)
  • Loading branch information
FearlessTobi authored Dec 20, 2023
1 parent 2e369c0 commit c7e9f84
Show file tree
Hide file tree
Showing 14 changed files with 540 additions and 3 deletions.
4 changes: 4 additions & 0 deletions externals/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ if(ANDROID)
target_link_libraries(httplib INTERFACE ifaddrs)
endif()

if (UNIX AND NOT APPLE)
add_subdirectory(gamemode)
endif()

# cpp-jwt
if (ENABLE_WEB_SERVICE)
if (USE_SYSTEM_CPP_JWT)
Expand Down
11 changes: 11 additions & 0 deletions externals/gamemode/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
# SPDX-License-Identifier: GPL-3.0-or-later

project(gamemode LANGUAGES CXX C)

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

0 comments on commit c7e9f84

Please sign in to comment.