From 3ae998a7432a3b8db8f43cf7013ce7f36cb71bfe Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Thu, 23 Nov 2017 14:01:57 +0000 Subject: [PATCH] meson: don't require dri2proto for darwin or windows Signed-off-by: Jon Turney Reviewed-by: Dylan Baker Reviewed-by: Eric Engestrom --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2