Skip to content

Commit 6e27258

Browse files
committed
Update RTC flags properly for MSVC compilation in release mode.
2 parents 5544c3f + d561edb commit 6e27258

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/CompileOptions.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ if(WIN32)
121121
add_compile_options(/GS)
122122

123123
# Disable Run-Time Error Checks
124-
add_compile_options(/RTC1-)
125-
add_compile_options(/RTCc-)
124+
add_compile_options(/GR-)
126125

127126
# Enable optimizations
128127
add_compile_options(/O2)

0 commit comments

Comments
 (0)