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:
Antonio Maiorano 2021-12-20 21:39:35 +00:00 committed by Tint LUCI CQ
parent 66e7569e15
commit c5f2fe4c78
1 changed files with 2 additions and 0 deletions

View File

@ -374,6 +374,8 @@ function(tint_default_compile_options TARGET)
-Wno-global-constructors
-Wno-zero-as-null-pointer-constant
-Wno-shorten-64-to-32
-Wno-shadow-field-in-constructor
-Wno-reserved-id-macro
)
endif()
endif()