VERY experimental Nintendo Switch 2 emulator
C++
cmake: sync gamemode conditionals with code after 0fff56e1ef1d
Jan Beich93abc60cf71a
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txtindex 40ec20f3dd..3213a16ef1 100644--- a/externals/CMakeLists.txt+++ b/externals/CMakeLists.txt@@ -189,7 +189,7 @@ if (ANDROID)endif()endif()-if (CMAKE_SYSTEM_NAME STREQUAL "Linux")+if (UNIX AND NOT APPLE)add_subdirectory(gamemode)endif()diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txtindex 2651daadbb..289760c409 100644--- a/src/common/CMakeLists.txt+++ b/src/common/CMakeLists.txt@@ -174,7 +174,7 @@ if(ANDROID))endif()-if (CMAKE_SYSTEM_NAME STREQUAL "Linux")+if (UNIX AND NOT APPLE)target_sources(common PRIVATElinux/gamemode.cpplinux/gamemode.h