Commit 3832db27 authored by Eric Engestrom's avatar Eric Engestrom

meson: only run vulkan's meson.build when building vulkan

Fixes: d1992255 "meson: Add build Intel "anv" vulkan driver"
Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
Reviewed-by: 's avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
parent 4f1ae271
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment