VERY experimental Nintendo Switch 2 emulator
C++
[build, cmake] fix android
lizziebb689637cb34
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 184993b96a..007debd047 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -415,7 +415,7 @@ if(ENABLE_OPENSSL)find_package(OpenSSL 1.1.1 REQUIRED)endif()-if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT ANDROID)+if (CMAKE_SYSTEM_NAME STREQUAL "Linux" OR ANDROID)find_package(gamemode 1.7 MODULE)endif()diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txtindex c08c9b7f2d..e5b35954f7 100644--- a/externals/CMakeLists.txt+++ b/externals/CMakeLists.txt@@ -211,7 +211,7 @@ if (ANDROID)endif()endif()-if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT ANDROID AND NOT TARGET gamemode::headers)+if ((CMAKE_SYSTEM_NAME STREQUAL "Linux" OR ANDROID) AND NOT TARGET gamemode::headers)add_library(gamemode INTERFACE)target_include_directories(gamemode INTERFACE gamemode)add_library(gamemode::headers ALIAS gamemode)