meson: Don't build intel shared components by default
[mesa.git] / src / meson.build
index 53c8269a99edb975b1c6428116553ead3ad402c1..c3b1ff00d001ac081bad1a18def830e1873d66a3 100644 (file)
@@ -55,7 +55,9 @@ subdir('amd')
 if with_gallium_vc4
   subdir('broadcom')
 endif
-subdir('intel')
+if with_dri_i965 or with_intel_vk
+  subdir('intel')
+endif
 subdir('mesa')
 subdir('loader')
 subdir('glx')