summaryrefslogtreecommitdiff
path: root/rest-extras
diff options
context:
space:
mode:
Diffstat (limited to 'rest-extras')
-rw-r--r--rest-extras/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/rest-extras/meson.build b/rest-extras/meson.build
index 159676b..67e6fd0 100644
--- a/rest-extras/meson.build
+++ b/rest-extras/meson.build
@@ -45,6 +45,10 @@ librest_extras_dep = declare_dependency(
link_with: librest_extras_lib,
)
+if get_option('vapi') and not get_option('introspection')
+ warning('Vapi generation needs "introspection" option in order to generate the .vapi file')
+endif
+
if get_option('introspection')
librest_extras_gir = gnome.generate_gir(librest_extras_lib,
sources: librest_extras_sources + librest_extras_headers,