mirror of
https://git.uzuy-edge.org/Uzuy-Edge/Uzuy
synced 2024-12-02 20:06:25 +00:00
general: conditionally compile gamemode on linux only
This commit is contained in:
parent
aded28f276
commit
5eec980a2d
2
externals/CMakeLists.txt
vendored
2
externals/CMakeLists.txt
vendored
@ -189,7 +189,7 @@ if (ANDROID)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
add_subdirectory(gamemode)
|
||||
endif()
|
||||
|
||||
|
@ -174,7 +174,7 @@ if(ANDROID)
|
||||
)
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
target_sources(common PRIVATE
|
||||
linux/gamemode.cpp
|
||||
linux/gamemode.h
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <gamemode_client.h>
|
||||
|
||||
#include "common/linux/gamemode.h"
|
||||
#include "common/logging/log.h"
|
||||
#include "common/settings.h"
|
||||
|
||||
namespace Common::Linux {
|
||||
|
Loading…
Reference in New Issue
Block a user