From 66c94b9313a697ce8f2b222f4ba353035e4b8726 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Sat, 30 Sep 2017 13:48:34 -0700 Subject: meson: build gallium winsys for dri, null, and wrapper Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index ebaf2d957fd..e2f49415295 100644 --- a/meson.build +++ b/meson.build @@ -523,10 +523,14 @@ else dep_clock = cc.find_library('rt') endif +with_gallium_drisw_kms = false dep_libdrm = dependency('libdrm', version : '>= 2.4.75', required : with_dri2 or with_dri3) if dep_libdrm.found() pre_args += '-DHAVE_LIBDRM' + if with_dri_platform == 'drm' and with_dri + with_gallium_drisw_kms = true + endif endif # TODO: some of these may be conditional -- cgit v1.2.3