[Spice-devel] [PATCH spice-gtk 2/2] build: Fix VAPI include directory
Frediano Ziglio
fziglio at redhat.com
Mon Sep 3 12:46:28 UTC 2018
If gir files are not installed generate_vapi is not able to
find generated gir files, so look also in src generated files.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
vapi/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/vapi/meson.build b/vapi/meson.build
index 4737715..de9adb9 100644
--- a/vapi/meson.build
+++ b/vapi/meson.build
@@ -7,6 +7,7 @@ if spice_gtk_has_vala
gnome.generate_vapi('spice-client-gtk-3.0',
install : true,
packages : ['gtk+-3.0', 'spice-client-glib-2.0'],
+ gir_dirs : join_paths(meson.build_root(), 'src'),
vapi_dirs : meson.current_build_dir(),
sources : spice_client_gtk_gir[0])
endif
--
2.17.1
More information about the Spice-devel
mailing list