[igt-dev] [PATCH i-g-t] meson: Remove invalid required argument
Ser, Simon
simon.ser at intel.com
Mon May 20 10:02:59 UTC 2019
On Mon, 2019-05-20 at 12:39 +0300, Petri Latvala wrote:
> declare_dependency doesn't take a 'required' argument.
>
> meson.build:207: WARNING: Passed invalid keyword argument "required".
> WARNING: This will become a hard error in the future.
>
> Signed-off-by: Petri Latvala <petri.latvala at intel.com>
> Cc: Simon Ser <simon.ser at intel.com>
Derp. Thanks for spotting this!
Reviewed-by: Simon Ser <simon.ser at intel.com>
> ---
> meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meson.build b/meson.build
> index a05e912c..2af08f9a 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -210,7 +210,7 @@ if _build_chamelium
> xmlrpc_client,
> gsl,
> alsa,
> - ], required : _chamelium_required)
> + ])
> if xmlrpc.found() and xmlrpc_util.found() and
> xmlrpc_client.found() and gsl.found() and alsa.found() and
> libcurl.found()
> config.set('HAVE_CHAMELIUM', 1)
> chameliuminfo = 'Yes'
More information about the igt-dev
mailing list