Merge pull request #1674 from null77/fix-msvc-sign-warning
Suppress a MSVC cast warning in GN.
This commit is contained in:
commit
2cf6613a0d
1 changed files with 5 additions and 0 deletions
5
BUILD.gn
5
BUILD.gn
|
|
@ -148,6 +148,11 @@ source_set("glslang_sources") {
|
||||||
"-Wno-unused-variable",
|
"-Wno-unused-variable",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
if (is_win && !is_clang) {
|
||||||
|
cflags = [
|
||||||
|
"/wd4018", # signed/unsigned mismatch
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"${spirv_tools_dir}:spvtools_opt",
|
"${spirv_tools_dir}:spvtools_opt",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue