diff --git a/meson.build b/meson.build index e11e52f19..ff2778ce6 100644 --- a/meson.build +++ b/meson.build @@ -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',