From 79f05996e15d0f2c286db898dbc9fe1c9f8e862c Mon Sep 17 00:00:00 2001 From: James Price Date: Wed, 23 Nov 2022 15:50:49 +0000 Subject: [PATCH] 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 Auto-Submit: James Price Reviewed-by: Ben Clayton Reviewed-by: Dan Sinclair Commit-Queue: James Price --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7d0e02a4d..fe16422e25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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