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
This commit is contained in:
Max Kellermann 2021-09-21 13:44:22 +02:00
parent f23ecf00da
commit 6b1d0cb01d
1 changed files with 5 additions and 0 deletions

View File

@ -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+',
)