meson: Fix vapi build

Apparently vapigen can't find the NetworkManager-1.0.gir belonging to
libnm-util.vapi.
This commit is contained in:
Jan Alexander Steffens (heftig)
2018-09-08 12:58:57 +02:00
committed by Thomas Haller
parent 4bfd0bab0d
commit 44f14e969b

View File

@@ -18,12 +18,11 @@ if enable_libnm_glib
install: true install: true
) )
packages += libnm_util_vapi
gnome.generate_vapi( gnome.generate_vapi(
libnm_glib_name, libnm_glib_name,
sources: libnm_glib_gir[0], sources: libnm_glib_gir[0],
packages: packages, packages: packages + [libnm_util_vapi],
gir_dirs: [join_paths(meson.current_build_dir(), '..', 'libnm-util')],
install: true install: true
) )
endif endif