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 30954beac5..3100dfc50f 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