intel: Only build ds if drivers are enabled
authorMatt Turner <mattst88@gmail.com>
Wed, 30 Aug 2023 18:46:59 +0000 (14:46 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 31 Aug 2023 21:53:19 +0000 (21:53 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24974>

src/intel/meson.build

index 82d1e17..e68253f 100644 (file)
@@ -29,7 +29,9 @@ subdir('isl')
 subdir('common')
 subdir('compiler')
 subdir('perf')
-subdir('ds')
+if with_intel_hasvk or with_intel_vk or with_gallium_iris
+  subdir('ds')
+endif
 if with_intel_tools
   subdir('tools')
 endif