From a41e8e0d1fe02ad3f9814ff8e00b24910d825d5d Mon Sep 17 00:00:00 2001 From: flightlessmango Date: Sun, 7 Apr 2024 02:58:40 +0200 Subject: [PATCH] meson: can't build mangoapp without x11 --- src/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/meson.build b/src/meson.build index d996e425..9698b5b8 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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(