meson: use override_options to change warning-level
This pevents MSVC from complaining about multiple warning-levels on the command-line. Reviewed-by: Brian Paul <brianp@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4577>
This commit is contained in:
committed by
Marge Bot
parent
2437808671
commit
e9ad8af6f3
@@ -22,7 +22,7 @@ libgtest = static_library(
|
||||
'gtest',
|
||||
files('src/gtest-all.cc', 'src/gtest_main.cc'),
|
||||
include_directories : include_directories('include'),
|
||||
cpp_args : '-w',
|
||||
override_options: 'warning_level=1',
|
||||
build_by_default : false,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user