diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 34dda1b..1e59da5 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -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)