meson: don't require dri2proto for darwin or windows

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
Jon Turney 2017-11-23 14:01:57 +00:00
parent dbe36e3b17
commit 3ae998a743

View File

@ -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