meson.build: KMS support also depends on dri2

Kernel modesettings support also depends on dri2, see
./hw/xfree86/drivers/modesetting/meson.build

So update meson.build to reflect the changes made in configure.ac by
commit 9c81b8f5b5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
(cherry picked from commit 5d73a8b59e)
This commit is contained in:
Fabrice Fontaine 2020-12-10 22:32:59 +01:00 committed by Olivier Fourdan
parent b09f5f42dc
commit f5df31c761
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ if not libdrm_dep.found() and libdrm_required
error('DRI requested, but LIBDRM not found')
endif
build_modesetting = libdrm_dep.found()
build_modesetting = libdrm_dep.found() and dri2proto_dep.found()
build_vbe = false
if get_option('vbe') == 'auto'