Skip to content

Commit

Permalink
Do not treat warnings as errors when using MSVC. (#2461)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xazax-hun committed Jun 11, 2024
1 parent b7a5354 commit 99399f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "")
Expand Down

0 comments on commit 99399f3

Please sign in to comment.