From 6dc5d6cd358569f1e9654e0ecd5c385fe508b23d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Sep 2022 23:32:21 -0400 Subject: Make glib a system dependency This avoids warnings from some compilers, and clang-tidy. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 5680a1a..d6b6ca7 100644 --- a/meson.build +++ b/meson.build @@ -286,7 +286,8 @@ build_benchmarks = false if not get_option('benchmarks').disabled() glib_dep = dependency('glib-2.0', required: get_option('benchmarks'), - version: '>= 2.0.0') + version: '>= 2.0.0', + include_type: 'system') if glib_dep.found() build_benchmarks = true -- cgit v1.2.1