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'