From 875df8c7f846942b61d8fc43e544045c8cbffa06 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Nov 2022 14:32:54 -0500 Subject: Fix build as a subproject --- meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 203605c..56d64d8 100644 --- a/meson.build +++ b/meson.build @@ -581,10 +581,11 @@ if not get_option('benchmarks').disabled() benchmark, executable( benchmark, - 'benchmark/@0@.c'.format(benchmark), + files('benchmark/@0@.c'.format(benchmark)), include_directories: include_dirs, c_args: c_suppressions + benchmark_c_args, - dependencies: [zix_dep, glib_dep]), + dependencies: [zix_dep, glib_dep], + ), ) endforeach endif -- cgit v1.2.1