From 7681b2e883ad4dcb70dcd5d52f3bd1991dbfbdf4 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 19 Oct 2019 13:24:17 +0100 Subject: [PATCH] Updated exception handling --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b5afae9..ae0cbdd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,7 +67,7 @@ if (MSVC) foreach(CompilerFlag ${CompilerFlags}) string(REPLACE "/MD" "/MT" ${CompilerFlag} "${${CompilerFlag}}") endforeach() - add_compile_options("/EHa") #We require exception handling + add_compile_options("/EHsc") #We require exception handling else() set(CMAKE_CXX_FLAGS_RELEASE "-O3") #-DNDEBUG We want assert! endif()