Ensure MSVC builds with standard unwinding enabled
It seems some cmake copies don't enable it for some odd reason ?
This commit is contained in:
parent
d269778cd4
commit
047bfdfb30
|
@ -396,6 +396,8 @@ if( MSVC )
|
|||
string( APPEND CMAKE_CXX_FLAGS_RELEASE " /GF" )
|
||||
# Avoid fatal error because /GF + swig wrapper exceed standard obj file limits
|
||||
string( APPEND CMAKE_CXX_FLAGS " /bigobj" )
|
||||
# /EHsc: ensure standard exception C++ unwinding is enabled
|
||||
string( APPEND CMAKE_CXX_FLAGS " /EHsc" )
|
||||
foreach( type EXE SHARED MODULE)
|
||||
# /DEBUG: create PDB
|
||||
string( APPEND CMAKE_${type}_LINKER_FLAGS " /DEBUG /MANIFEST:NO" )
|
||||
|
|
Loading…
Reference in New Issue