aboutsummaryrefslogtreecommitdiffstats
path: root/src/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build
index cefa1c9ac28..53b999ad22a 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -60,7 +60,9 @@ subdir('compiler')
if with_tools.contains('drm-shim')
subdir('drm-shim')
endif
-subdir('imgui')
+if with_imgui
+ subdir('imgui')
+endif
if with_platform_wayland
subdir('egl/wayland/wayland-drm')
endif