From 1ce1e1f6be3934e930700f0f5230b77e6c17df70 Mon Sep 17 00:00:00 2001 From: Marcus Minhorst Date: Mon, 22 Sep 2025 22:41:51 -0400 Subject: [PATCH] Turn off gles by default for apple --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0332f91ab..8a1becdb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -232,7 +232,11 @@ if( ${TARGET_ARCHITECTURE} MATCHES "x86_64" ) endif() option (HAVE_VULKAN "Enable Vulkan support" ON) -option (HAVE_GLES2 "Enable GLES2 support" ON) +if( APPLE ) + option (HAVE_GLES2 "Enable GLES2 support" OFF) +else() + option (HAVE_GLES2 "Enable GLES2 support" ON) +endif() # no, we're not using external asmjit for now, we made too many modifications to our's. # if the asmjit author uses our changes then we'll update this.