summaryrefslogtreecommitdiffstats
path: root/src/intel/meson.build
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-08-07 11:38:59 +0100
committerLionel Landwerlin <[email protected]>2018-08-07 11:58:47 +0100
commit303e7b39b5df982b0870b2d09d52fbf36ff9a087 (patch)
tree146428801d029c8d51f923376b15b80619bf56c5 /src/intel/meson.build
parentc4f183492d9da25d6df0af61e099aa2c98133a5e (diff)
intel: don't build tools without -Dtools=intel
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107487 Fixes: 4334196ab325c6w ("intel: tools: simplify meson build") Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/meson.build')
-rw-r--r--src/intel/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/meson.build b/src/intel/meson.build
index ccaf16a76f9..37a231f9567 100644
--- a/src/intel/meson.build
+++ b/src/intel/meson.build
@@ -26,7 +26,9 @@ subdir('genxml')
subdir('isl')
subdir('common')
subdir('compiler')
-subdir('tools')
+if with_tools.contains('intel')
+ subdir('tools')
+endif
if with_intel_vk
subdir('vulkan')
endif