[gnome-contacts/wip/nielsdg/fix-compilation] meson: Fix compilation handy as subproject



commit ee93095f344009e2e74188790cd437248c8ce674
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri Jun 5 09:41:21 2020 +0200

    meson: Fix compilation handy as subproject

 meson.build | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/meson.build b/meson.build
index d396073..036f8cf 100644
--- a/meson.build
+++ b/meson.build
@@ -73,6 +73,13 @@ 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 = ''


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]