From 97d31fa04b29aaa5cec544e8baefaa4b14f6a877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Ferenc=20Nagy-Egri?= Date: Mon, 6 Jun 2022 13:59:18 +0200 Subject: [PATCH] Do not add /WX globally --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e96393c..d3d51ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ endif() # Enable compiler warnings if (MSVC) - add_compile_options(/W4 /WX) + add_compile_options(/W4) else() add_compile_options(-Wall -Wextra -pedantic) endif()