From e3d58492256fa02b40504ccee3852d81bd08505e Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 12 May 2020 05:00:36 +0530 Subject: meson: Pass native: false to add_languages() This is needed for cross-compiling without a build machine compiler available. The option was added in 0.54, but we only need this in Cerbero and it doesn't affect older versions so it should be ok. Will only cause a spurious warning. Part-of: --- ext/modplug/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/modplug') diff --git a/ext/modplug/meson.build b/ext/modplug/meson.build index 9e99d89c5..659c291a1 100644 --- a/ext/modplug/meson.build +++ b/ext/modplug/meson.build @@ -1,4 +1,4 @@ -if not add_languages('cpp', required: get_option('modplug')) +if not add_languages('cpp', native: false, required: get_option('modplug')) subdir_done() endif -- cgit v1.2.1