diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 08c72f1b70b..abd27142b03 100644 --- a/meson.build +++ b/meson.build @@ -1435,7 +1435,7 @@ if with_platform_x11 with_gallium_omx != 'disabled')) dep_xcb = dependency('xcb') dep_x11_xcb = dependency('x11-xcb') - if not dep_libdrm.found() + if with_dri_platform == 'drm' and not dep_libdrm.found() error('libdrm required for gallium video statetrackers when using x11') endif endif |