Fix release build on MSVC.
The /RTC* flags conflict with all optimizations, therefore they should only be added when building the Debug configuration.
This commit is contained in:
parent
5fa7ba487e
commit
b2ce7c8794
|
@ -77,7 +77,7 @@ if(MSVC)
|
|||
set(_COMMON_CFLAGS
|
||||
/W4 /wd4100
|
||||
/bigobj /nologo
|
||||
/RTC1 /RTCs /RTCu
|
||||
$<$<CONFIG:Debug>:/RTC1 /RTCs /RTCu>
|
||||
/EHsc
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue