From fd26dfeccac976f22123e4fa50bc32206a6052a8 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 17 Nov 2020 09:22:03 +0100 Subject: [PATCH] meson: fix multiple outputs target warning meson 0.54 introduced a new API allowing us to fix this warning. --- meson.build | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index 4ef622fb..7d6e2426 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project('gst-plugins-rs', 'rust', 'c', version: '0.13.0', - meson_version : '>= 0.52') + meson_version : '>= 0.54') if get_option('debug') target = 'debug' @@ -160,10 +160,7 @@ rs_plugins = custom_target('gst-plugins-rs', extra_env_str, extensions]) -# FIXME: raises a warning as the target has multiple outputs and meson will use -# only the first one. All the plugins have the same basedir, hence -# GST_PLUGIN_PATH will include them all, so that's ok. -plugins = [rs_plugins] +plugins = rs_plugins.to_list() test('tests', cargo_wrapper,