From: Eric Engestrom Date: Thu, 11 Oct 2018 15:21:14 +0000 (+0100) Subject: meson: only run vulkan's meson.build when building vulkan X-Git-Tag: upstream/19.0.0~1642 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3832db275efdb235b3b7b27c9b41e64d5507aa2c;p=platform%2Fupstream%2Fmesa.git meson: only run vulkan's meson.build when building vulkan Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver" Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov Reviewed-by: Dylan Baker --- diff --git a/src/meson.build b/src/meson.build index 73146d3..2c0bff7 100644 --- a/src/meson.build +++ b/src/meson.build @@ -52,7 +52,9 @@ subdir('mapi') # TODO: opengl subdir('compiler') subdir('egl/wayland/wayland-drm') -subdir('vulkan') +if with_any_vk + subdir('vulkan') +endif if with_gallium_radeonsi or with_amd_vk subdir('amd') endif