2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #12223 from liamwhite/fruit-company

general: conditionally compile gamemode on linux only
This commit is contained in:
Narr the Reg 2023-11-29 14:28:37 -06:00 committed by GitHub
commit 9dc9aaf4af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -189,7 +189,7 @@ if (ANDROID)
endif() endif()
endif() endif()
if (UNIX) if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
add_subdirectory(gamemode) add_subdirectory(gamemode)
endif() endif()

View file

@ -174,7 +174,7 @@ if(ANDROID)
) )
endif() endif()
if (UNIX) if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_sources(common PRIVATE target_sources(common PRIVATE
linux/gamemode.cpp linux/gamemode.cpp
linux/gamemode.h linux/gamemode.h

View file

@ -4,6 +4,7 @@
#include <gamemode_client.h> #include <gamemode_client.h>
#include "common/linux/gamemode.h" #include "common/linux/gamemode.h"
#include "common/logging/log.h"
#include "common/settings.h" #include "common/settings.h"
namespace Common::Linux { namespace Common::Linux {