Add a test for ignoring not-found vala deps

https://github.com/mesonbuild/meson/pull/1986
0.41
Nirbheek Chauhan 8 years ago
parent 9593adecb9
commit 920a7ef454
  1. 5
      test cases/vala/3 dep/meson.build

@ -2,7 +2,10 @@ project('giotest', 'vala', 'c')
glib = dependency('glib-2.0')
gobject = dependency('gobject-2.0')
gio = dependency('gio-2.0')
gio = [dependency('gio-2.0'),
# https://github.com/mesonbuild/meson/issues/1484
dependency('gio-unix-2.0', required : false),
dependency('gio-windows-2.0', required : false)]
e = executable('gioprog', 'gioprog.vala',
dependencies : [glib, gobject, gio])

Loading…
Cancel
Save