aboutsummaryrefslogtreecommitdiff
path: root/test cases/vala
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-06-04 23:43:58 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-06-26 14:58:41 +0530
commit03ba7cd8433975a4c6bce56aba754825bd61627f (patch)
tree8392d069a2de250804a8df3a242ea474ff878de2 /test cases/vala
parentce3cec40da8a9b3b4454ab396db5d6b90adf7703 (diff)
downloadmeson-03ba7cd8433975a4c6bce56aba754825bd61627f.zip
meson-03ba7cd8433975a4c6bce56aba754825bd61627f.tar.gz
meson-03ba7cd8433975a4c6bce56aba754825bd61627f.tar.bz2
Add a test for ignoring not-found vala deps
https://github.com/mesonbuild/meson/pull/1986
Diffstat (limited to 'test cases/vala')
-rw-r--r--test cases/vala/3 dep/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/test cases/vala/3 dep/meson.build b/test cases/vala/3 dep/meson.build
index d327fb5..c3563b1 100644
--- a/test cases/vala/3 dep/meson.build
+++ b/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])