meson.build (429B)
1 xcb_dep = dependency('xcb', required: false) 2 xcb_xinput_dep = dependency('xcb-xinput', required: false) 3 4 if get_option('xvfb') 5 if xcb_dep.found() and xcb_xinput_dep.found() 6 requestlength = executable('request-length', 'request-length.c', 7 dependencies: [xcb_dep, xcb_xinput_dep]) 8 test('request-length', simple_xinit, args: [requestlength, '--', xvfb_server]) 9 endif 10 endif