meson: can't build mangoapp without x11

pull/1290/head
flightlessmango 3 weeks ago
parent 01b81d068b
commit a41e8e0d1f

@ -278,6 +278,9 @@ if is_unixy
endif
if get_option('mangoapp')
if not get_option('with_x11').enabled()
error('mangoapp also needs \'with_x11\'')
endif
pre_args += '-DIMGUI_IMPL_OPENGL_LOADER_GLEW'
pre_args += '-DMANGOAPP'
mangoapp = executable(

Loading…
Cancel
Save