meson: only build imgui when needed

Only required for Intel tools or the Vulkan overlay layer.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Samuel Pitoiset
2019-11-22 12:16:50 +01:00
parent bfb307aea9
commit d6db858771
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -59,6 +59,6 @@ endif
subdir('util')
subdir('wsi')
if get_option('vulkan-overlay-layer')
if with_vulkan_overlay_layer
subdir('overlay-layer')
endif