summaryrefslogtreecommitdiffstats
path: root/test cases/frameworks/16 sdl2/meson.build
blob: fc98010ba4a44da2505d4bacd18fd4159f6cc6da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
project('sdl2 test', 'c')

method = get_option('method')

sdl2_dep = dependency('sdl2', version : '>=2.0.0', required : false, method : method)

if not sdl2_dep.found()
  error('MESON_SKIP_TEST sdl2 not found.')
endif

e = executable('sdl2prog', 'sdl2prog.c', dependencies : sdl2_dep)

test('sdl2test', e)