From cafced3bdbf0aad72beb64686ba3678ef2f6ae7f Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Mon, 17 Jul 2023 16:49:31 -0700 Subject: [PATCH] Use GLES on ARM --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index cac280e..9b33c21 100644 --- a/meson.build +++ b/meson.build @@ -6,7 +6,7 @@ cmake = import('cmake') if get_option('debug') add_global_arguments('-DDEBUG', language: 'cpp') endif -if get_option('gles') +if get_option('gles') or target_machine.cpu_family() == 'aarch64' or target_machine.cpu_family() == 'arm' add_global_arguments('-DIMGUI_IMPL_OPENGL_ES2', language: 'cpp') endif # SDL Mixer X @@ -26,7 +26,7 @@ deps = [ smx_subproj.dependency('SDL2_mixer_ext_Static') ] -if get_option('portals') and host_machine.system() == 'linux' +if get_option('portals') and target_machine.system() == 'linux' # Dbus CXX deps += dependency('libportal') opts += '-DPORTALS'