From e24d94f90f246d848bd5e13d876eb16128344451 Mon Sep 17 00:00:00 2001 From: Adrien Plazas Date: Mon, 20 Jul 2020 12:31:40 +0200 Subject: meson: Unconditionaly disable "since" checks in Vala This is needed because the current development libhandy version is smaller than its API version. It can be dropped completely as soon as we depend on libandy 1.0. --- meson.build | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 1f46321..ffc0838 100644 --- a/meson.build +++ b/meson.build @@ -10,6 +10,9 @@ i18n = import('i18n') # Add our custom VAPI dir add_project_arguments( ['--vapidir', meson.source_root() / 'vapi'], + # We need to add this, since Vala queries the pkgconfig version on its own + # and will error out if that is lower then required one + '--disable-since-check', language: 'vala' ) @@ -81,13 +84,6 @@ if not libhandy.found() ] ) - # We need to add this, since Vala queries the pkgconfig version on its own - # and will error out if that is lower then required one - add_project_arguments( - [ '--disable-since-check' ], - language: 'vala' - ) - libhandy_vapidir = meson.build_root() / 'subprojects' / 'libhandy' / 'src' else libhandy_vapidir = '' -- cgit v1.2.1