mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-16 14:42:51 +00:00
Merge pull request #12223 from liamwhite/fruit-company
general: conditionally compile gamemode on linux only
This commit is contained in:
commit
9dc9aaf4af
2
externals/CMakeLists.txt
vendored
2
externals/CMakeLists.txt
vendored
|
@ -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()
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue