From 25cc1b3029d60dd5126a671fd177c53425bdbabc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 5 Jul 2023 13:20:53 +1000 Subject: [PATCH] Cleanup: disable -Weverything for clang under extern/ This is very noisy and didn't result in useful warnings. --- extern/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index f38e2efd12b..b31fbd82bb8 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -14,6 +14,10 @@ if(CMAKE_COMPILER_IS_GNUCC) remove_cc_flag( "-Wmisleading-indentation" ) +elseif(CMAKE_C_COMPILER_ID MATCHES "Clang") + remove_cc_flag( + "-Weverything" + ) endif()