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:
@@ -15,6 +15,11 @@ project(
|
|||||||
'fmt:default_library=static',
|
'fmt:default_library=static',
|
||||||
'gtest:default_library=static',
|
'gtest:default_library=static',
|
||||||
'sqlite3: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+',
|
license: 'GPLv2+',
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user