summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index cd994c73b72..1d32d909c95 100644
--- a/meson.build
+++ b/meson.build
@@ -589,9 +589,9 @@ if not system_has_kms_drm
else
_va = 'false'
endif
-elif not (with_platform_x11 or with_platform_drm)
+elif not (with_platform_x11 or dep_libdrm.found())
if _va == 'true'
- error('VA state tracker requires X11 or drm or wayland platform support.')
+ error('VA state tracker requires X11 platform support or libdrm.')
else
_va = 'false'
endif