tests: Make SDL2 compulsory now that it's in the CI image

pull/1900/head
Nirbheek Chauhan 8 years ago
parent 9308a6d923
commit 868d85d2e5
  1. 7
      test cases/frameworks/16 sdl2/meson.build

@ -1,9 +1,10 @@
project('sdl2 test', 'c')
sdl2_dep = dependency('sdl2', version : '>=2.0.0', required : false)
sdl2_dep = dependency('sdl2', version : '>=2.0.0')
if sdl2_dep.found()
e = executable('sdl2prog', 'sdl2prog.c', dependencies : sdl2_dep)
test('sdl2test', e)
endif
# Ensure that we can find it with sdl2-config too
configdep = dependency('sdl2', method : 'sdlconfig')

Loading…
Cancel
Save