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