Skip to content

Commit

Permalink
Update RTC flags properly for MSVC compilation in release mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Apr 16, 2020
2 parents 5544c3f + d561edb commit 6e27258
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/CompileOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ if(WIN32)
add_compile_options(/GS)

# Disable Run-Time Error Checks
add_compile_options(/RTC1-)
add_compile_options(/RTCc-)
add_compile_options(/GR-)

# Enable optimizations
add_compile_options(/O2)
Expand Down

0 comments on commit 6e27258

Please sign in to comment.