Added exception handling for windows
This commit is contained in:
parent
6b667b8d73
commit
df79c2acab
@ -67,6 +67,7 @@ if (MSVC)
|
||||
foreach(CompilerFlag ${CompilerFlags})
|
||||
string(REPLACE "/MD" "/MT" ${CompilerFlag} "${${CompilerFlag}}")
|
||||
endforeach()
|
||||
add_compile_options("/EHa") #We require exception handling
|
||||
else()
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3") #-DNDEBUG We want assert!
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user