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:
parent
f23ecf00da
commit
6b1d0cb01d
|
@ -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+',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue