Use GLES on ARM
This commit is contained in:
parent
03c596c3ce
commit
cafced3bdb
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ cmake = import('cmake')
|
||||||
if get_option('debug')
|
if get_option('debug')
|
||||||
add_global_arguments('-DDEBUG', language: 'cpp')
|
add_global_arguments('-DDEBUG', language: 'cpp')
|
||||||
endif
|
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')
|
add_global_arguments('-DIMGUI_IMPL_OPENGL_ES2', language: 'cpp')
|
||||||
endif
|
endif
|
||||||
# SDL Mixer X
|
# SDL Mixer X
|
||||||
|
@ -26,7 +26,7 @@ deps = [
|
||||||
smx_subproj.dependency('SDL2_mixer_ext_Static')
|
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
|
# Dbus CXX
|
||||||
deps += dependency('libportal')
|
deps += dependency('libportal')
|
||||||
opts += '-DPORTALS'
|
opts += '-DPORTALS'
|
||||||
|
|
Loading…
Reference in a new issue