From a4dbe9362a3455fcc715d502ae786cec92ba25cf Mon Sep 17 00:00:00 2001 From: lizzie Date: Tue, 1 Sep 2026 04:02:31 +0000 Subject: [PATCH] [android] stop building OpenGL Signed-off-by: lizzie --- CMakeLists.txt | 2 +- docs/Options.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 477e7c636d..4c48507bcd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -238,7 +238,7 @@ option(YUZU_USE_BUNDLED_SIRIT "Download bundled sirit" ${BUNDLED_SIRIT_DEFAULT}) # FreeBSD 15+ has libusb, versions below should disable it cmake_dependent_option(ENABLE_LIBUSB "Enable the use of LibUSB" ON "WIN32 OR LINUX OR FREEBSD OR APPLE" OFF) -cmake_dependent_option(ENABLE_OPENGL "Enable OpenGL" ON "NOT (WIN32 AND ARCHITECTURE_arm64) AND NOT APPLE" OFF) +cmake_dependent_option(ENABLE_OPENGL "Enable OpenGL" ON "NOT (WIN32 AND ARCHITECTURE_arm64) AND NOT APPLE AND NOT ANDROID" OFF) mark_as_advanced(FORCE ENABLE_OPENGL) option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" ON) diff --git a/docs/Options.md b/docs/Options.md index a8552f2f0f..ece6bdeba6 100644 --- a/docs/Options.md +++ b/docs/Options.md @@ -76,7 +76,7 @@ The following options are desktop only. - `ENABLE_LIBUSB` (ON) Enable the use of the libusb input backend (HIGHLY RECOMMENDED) - `ENABLE_OPENGL` (ON) Enable the OpenGL graphics backend - - Unavailable on Windows/ARM64 + - Unavailable on Windows/ARM64 and on Android - You probably shouldn't turn this off. ### Qt