[Mesa-dev] [PATCH mesa 1/3] meson: only run vulkan's meson.build when building vulkan
Eric Engestrom
eric.engestrom at intel.com
Thu Oct 11 15:36:13 UTC 2018
Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
src/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/meson.build b/src/meson.build
index a8c1f53b62c1295d557d..2b8fcc36be5b0b1688ec 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -57,7 +57,9 @@ endif
# 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
--
Cheers,
Eric
More information about the mesa-dev
mailing list