diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 7a7793b9961..9222e6ec230 100644 --- a/meson.build +++ b/meson.build @@ -910,7 +910,9 @@ if with_platform_x11 endif endif if with_glx == 'dri' - dep_dri2proto = dependency('dri2proto', version : '>= 2.8') + if with_dri_platform == 'drm' + dep_dri2proto = dependency('dri2proto', version : '>= 2.8') + endif dep_glproto = dependency('glproto', version : '>= 1.4.14') endif if with_egl |