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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3832db275efdb235b3b7b27c9b41e64d5507aa2c;p=mesa.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 73146d37143..2c0bff73432 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