CMake: fix clang-cl build
Add two more warnings to ignore. These show up when including glslang headers in samples/main.cc. Change-Id: Icdb9fa9914bfe6fdafb4727ed8bf774fe9b930bf Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73660 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
parent
66e7569e15
commit
c5f2fe4c78
|
@ -374,6 +374,8 @@ function(tint_default_compile_options TARGET)
|
||||||
-Wno-global-constructors
|
-Wno-global-constructors
|
||||||
-Wno-zero-as-null-pointer-constant
|
-Wno-zero-as-null-pointer-constant
|
||||||
-Wno-shorten-64-to-32
|
-Wno-shorten-64-to-32
|
||||||
|
-Wno-shadow-field-in-constructor
|
||||||
|
-Wno-reserved-id-macro
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue