Added exception handling

This commit is contained in:
WolverinDEV 2019-10-19 13:56:17 +02:00
parent ca25a272bd
commit d8c008ad56
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ if (MSVC)
foreach(CompilerFlag ${CompilerFlags})
string(REPLACE "/MD" "/MT" ${CompilerFlag} "${${CompilerFlag}}")
endforeach()
add_compile_options("/EHa") #We require exception handling
else()
#This is a bad thing here!
function(resolve_library VARIABLE FALLBACK PATHS)