From 1ab65a20408c4bde22d72bb0986ddce10d140d92 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Tue, 28 May 2024 21:55:38 -0500 Subject: [PATCH] Remove /Wx from msvc outside of a werror build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f8b80d..4b61e10 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -246,7 +246,7 @@ set( warning_options $<$>:-Wall -Wextra -Werror=return-type -Wundef> $<$:-Wuseless-cast -Wmaybe-uninitialized> - $<$:/W4 /WX /permissive-> + $<$:/W4 /permissive-> ) if(CPPTRACE_WERROR_BUILD)