Module: Mesa
Branch: staging/18.3
Commit: 9d92b603f1ad710041c280d6b12ac4c6254d9209
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d92b603f1ad710041c280d6b12ac4c6254d9209

Author: Eric Engestrom <[email protected]>
Date:   Thu Oct 11 16:21:14 2018 +0100

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

Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
(cherry picked from commit 3832db275efdb235b3b7b27c9b41e64d5507aa2c)

---

 src/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index 73146d3714..2c0bff7343 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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to