cmake: Use -Wno-poison-system-directories

This fixes the build on certain macOS systems.

Change-Id: Ifac6d77c81982d0f147dd8197cf68a33d5cc909e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111480
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: James Price <jrprice@google.com>
This commit is contained in:
James Price 2022-11-23 15:50:49 +00:00 committed by Dawn LUCI CQ
parent 47fb4f9c57
commit 79f05996e1
1 changed files with 1 additions and 0 deletions

View File

@ -533,6 +533,7 @@ function(tint_default_compile_options TARGET)
-Wno-c++98-compat
-Wno-c++98-compat-pedantic
-Wno-format-pedantic
-Wno-poison-system-directories
-Wno-return-std-move-in-c++11
-Wno-unknown-warning-option
-Wno-undefined-var-template