diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b1e70f6..aab1cf35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,6 +221,11 @@ macro(modify_msvc_flags flag_default) # Use a macro to avoid a new scope endif() endmacro() +#if(MSVC) +# add_compiler_flag_release("/EHsc") +# add_compiler_flag_debug("/EHsc") +#endif() + ####################################### # BITNESS # #-------------------------------------#