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 commit9c81b8f5b5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> (cherry picked from commit5d73a8b59e
)
This commit is contained in:
parent
b09f5f42dc
commit
f5df31c761
|
@ -348,7 +348,7 @@ if not libdrm_dep.found() and libdrm_required
|
||||||
error('DRI requested, but LIBDRM not found')
|
error('DRI requested, but LIBDRM not found')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
build_modesetting = libdrm_dep.found()
|
build_modesetting = libdrm_dep.found() and dri2proto_dep.found()
|
||||||
|
|
||||||
build_vbe = false
|
build_vbe = false
|
||||||
if get_option('vbe') == 'auto'
|
if get_option('vbe') == 'auto'
|
||||||
|
|
Loading…
Reference in New Issue