diff options
author | Samuel Pitoiset <[email protected]> | 2019-11-22 12:16:50 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-11-25 07:51:56 +0000 |
commit | d6db858771ab72f607e43cd2cacf73b2f62fad30 (patch) | |
tree | ba939ea1da47b1d05f3a4c4f2c30057646517292 /src/meson.build | |
parent | bfb307aea922218cb72ffc9d977e88dfcadb2daf (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.build | 4 |
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 |