aboutsummaryrefslogtreecommitdiffstats
path: root/src/meson.build
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-11-22 12:16:50 +0100
committerSamuel Pitoiset <[email protected]>2019-11-25 07:51:56 +0000
commitd6db858771ab72f607e43cd2cacf73b2f62fad30 (patch)
treeba939ea1da47b1d05f3a4c4f2c30057646517292 /src/meson.build
parentbfb307aea922218cb72ffc9d977e88dfcadb2daf (diff)
meson: only build imgui when needed
Only required for Intel tools or the Vulkan overlay layer. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
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