From 1363462e7e4cbb2d6842d132c498e30e50e47553 Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Wed, 15 Nov 2023 11:35:08 +0100 Subject: [PATCH] cmake: Revert warning compiler flag for MSVC MSVC does not implemented /Wall very well as it floods the output with a plethora of warnings from system headers. This greatly reduces compile performance so this change reverts /Wall back to /W3. --- cmake/CompilerFlags.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CompilerFlags.cmake b/cmake/CompilerFlags.cmake index 26437ef70..81c7a9817 100644 --- a/cmake/CompilerFlags.cmake +++ b/cmake/CompilerFlags.cmake @@ -27,7 +27,7 @@ if (ENABLE_WARNING_VERBOSE) endforeach() set(C_WARNING_FLAGS - /Wall + /W3 ) else() set(C_WARNING_FLAGS