build: move imgui out of src/intel/tools to be reused
[mesa.git] / src / meson.build
index 915441fb2ce0984ccb9cb6cbc8f5c50881fda195..d9fe8daa146d637b23e3dab694abe7911a66b065 100644 (file)
@@ -51,6 +51,7 @@ subdir('util')
 subdir('mapi')
 # TODO: opengl
 subdir('compiler')
+subdir('imgui')
 if with_platform_wayland
   subdir('egl/wayland/wayland-drm')
 endif
@@ -74,7 +75,7 @@ subdir('loader')
 if with_platform_haiku
   subdir('hgl')
 endif
-if with_glx != 'disabled'
+if with_glx == 'dri'
   subdir('glx')
 endif
 if with_gbm