Module: Mesa Branch: master Commit: 3ae998a7432a3b8db8f43cf7013ce7f36cb71bfe URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ae998a7432a3b8db8f43cf7013ce7f36cb71bfe
Author: Jon Turney <[email protected]> Date: Thu Nov 23 14:01:57 2017 +0000 meson: don't require dri2proto for darwin or windows Signed-off-by: Jon Turney <[email protected]> Reviewed-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 7a7793b996..9222e6ec23 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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
