From 6b1d0cb01d51910c1c525e011d2cc8a7b05b2aef Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 21 Sep 2021 13:44:22 +0200 Subject: [PATCH] meson.build: disable compiler warnings for subprojects Requires Meson 0.56.0: https://mesonbuild.com/Release-notes-for-0-56-0.html#per-subproject-warning_level-option --- meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meson.build b/meson.build index 52ddff365..c9f8145ad 100644 --- a/meson.build +++ b/meson.build @@ -15,6 +15,11 @@ project( 'fmt:default_library=static', 'gtest:default_library=static', 'sqlite3:default_library=static', + + # Not interested in compiler warnings from subprojects. + 'fmt:warning_level=0', + 'gtest:warning_level=0', + 'sqlite3:warning_level=0', ], license: 'GPLv2+', )