From 1996a32f94d0da05a9608f1cc2db317d4418bad8 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Wed, 29 Nov 2023 23:25:15 +0100 Subject: [PATCH] early-access version 3999 --- README.md | 2 +- externals/CMakeLists.txt | 2 +- src/common/CMakeLists.txt | 2 +- src/common/linux/gamemode.cpp | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8577ab040..0e18b82b8 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3998. +This is the source code for early-access 3999. ## Legal Notice diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index fc6cbce84..7e6af7156 100755 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -193,7 +193,7 @@ if (ANDROID) endif() endif() -if (UNIX) +if (CMAKE_SYSTEM_NAME STREQUAL "Linux") add_subdirectory(gamemode) endif() diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 8b2dd42ac..534493332 100755 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -182,7 +182,7 @@ if(ANDROID) ) endif() -if (UNIX) +if (CMAKE_SYSTEM_NAME STREQUAL "Linux") target_sources(common PRIVATE linux/gamemode.cpp linux/gamemode.h diff --git a/src/common/linux/gamemode.cpp b/src/common/linux/gamemode.cpp index 8876d8dc4..8d3e2934a 100755 --- a/src/common/linux/gamemode.cpp +++ b/src/common/linux/gamemode.cpp @@ -4,6 +4,7 @@ #include #include "common/linux/gamemode.h" +#include "common/logging/log.h" #include "common/settings.h" namespace Common::Linux {