test/sync/meson.build
raw| 1 | xcb_dep = dependency('xcb', required: false) |
| 2 | xcb_sync_dep = dependency('xcb-sync', required: false) |
| 3 | |
| 4 | if get_option('xvfb') |
| 5 | if xcb_dep.found() and xcb_sync_dep.found() |
| 6 | sync = executable('sync', 'sync.c', dependencies: [xcb_dep, xcb_sync_dep]) |
| 7 | test('sync', simple_xinit, args: [sync, '--', xvfb_server]) |
| 8 | endif |
| 9 | endif |