From b4bca550baa0c04439ea2d6e2f64bc34cc28da4e Mon Sep 17 00:00:00 2001 From: Jorrit Wronski Date: Tue, 8 Nov 2016 11:01:34 +0100 Subject: [PATCH] Use this change to make Python happy? --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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 # #-------------------------------------#