summaryrefslogtreecommitdiff
path: root/test/damage/meson.build
blob: 091caff5f04e41ce4e3536346ccb4dcb010e8c7a (plain)
1
2
3
4
5
6
7
8
9
xcb_dep = dependency('xcb', required: false)
xcb_damage_dep = dependency('xcb-damage', required: false)

if get_option('xvfb')
    if xcb_dep.found() and xcb_damage_dep.found()
        damage_primitives = executable('damage-primitives', 'primitives.c', dependencies: [xcb_dep, xcb_damage_dep])
        test('damage-primitives', simple_xinit, args: [damage_primitives, '--', xvfb_server])
    endif
endif