diff --git a/test/bigreq/meson.build b/test/bigreq/meson.build index 9462ede31..c544703e2 100644 --- a/test/bigreq/meson.build +++ b/test/bigreq/meson.build @@ -1,8 +1,10 @@ xcb_dep = dependency('xcb', required: false) +xcb_xinput_dep = dependency('xcb-xinput', required: false) if get_option('xvfb') - if xcb_dep.found() - requestlength = executable('request-length', 'request-length.c', dependencies: xcb_dep) + if xcb_dep.found() and xcb_xinput_dep.found() + requestlength = executable('request-length', 'request-length.c', + dependencies: [xcb_dep, xcb_xinput_dep]) test('request-length', simple_xinit, args: [requestlength, '--', xvfb_server]) endif endif