summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/meson.build b/src/mesa/meson.build
index 32eed5231b6..35748e10c09 100644
--- a/src/mesa/meson.build
+++ b/src/mesa/meson.build
@@ -732,6 +732,6 @@ endif
if with_glx == 'xlib'
subdir('drivers/x11')
endif
-if with_tests
+if with_tests and dri_drivers != []
subdir('main/tests')
endif