build: enable subproject for libxkbcommon

References: https://github.com/xkbcommon/libxkbcommon/pull/315
This commit is contained in:
Simon Ser 2023-02-18 11:05:52 +01:00
parent 782b5e6565
commit 0335ae9566

View File

@ -129,7 +129,16 @@ drm = dependency('libdrm',
'tests=false',
],
)
xkbcommon = dependency('xkbcommon')
xkbcommon = dependency(
'xkbcommon',
fallback: 'libxkbcommon',
default_options: [
'enable-tools=false',
'enable-x11=false',
'enable-docs=false',
'enable-xkbregistry=false',
],
)
pixman = dependency('pixman-1',
version: '>=0.42.0',
fallback: 'pixman',