Skip to content

Commit

Permalink
Do not add /WX globally
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasMagnus committed Jun 6, 2022
1 parent 5180293 commit 97d31fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 97d31fa

Please sign in to comment.