From 99399f3509975e2f2c57532186408418614df641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Horv=C3=A1th?= Date: Tue, 11 Jun 2024 16:24:54 +0100 Subject: [PATCH] Do not treat warnings as errors when using MSVC. (#2461) --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index eb638c4d60b..c2ce37bf2ca 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -240,7 +240,7 @@ set_target_properties(compiled PROPERTIES POSITION_INDEPENDENT_CODE ON) if (NOT MSVC) target_compile_options(libsouffle PUBLIC -Wall -Wextra -fwrapv) else () - target_compile_options(libsouffle PUBLIC /W3 /WX) + target_compile_options(libsouffle PUBLIC /W3) endif () target_compile_options(compiled PUBLIC "")