Skip to content

Commit

Permalink
No /WX by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhbell committed Feb 24, 2024
1 parent 7b25adf commit c87a6b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ if (NOT TEQP_NO_TEQPCPP)
/W4 /wd4127 /wd4389 /wd4100>)

if(MSVC)
target_compile_options(teqpcpp PRIVATE /W4 /WX)
target_compile_options(teqpcpp PRIVATE /W4 ) # or add /WX to turn warnings into errors
else()
target_compile_options(teqpcpp PRIVATE -Wall -Wextra -Wpedantic)
target_compile_options(teqpcpp PRIVATE -Wall -Wextra -Wpedantic) # or add -Werror to turn warnings into errors
endif()

if (TEQP_TESTTEQPCPP)
Expand Down

0 comments on commit c87a6b5

Please sign in to comment.