diff --git a/src/Mod/Drawing/App/CMakeLists.txt b/src/Mod/Drawing/App/CMakeLists.txt index 1f99703ca..66676716d 100644 --- a/src/Mod/Drawing/App/CMakeLists.txt +++ b/src/Mod/Drawing/App/CMakeLists.txt @@ -91,10 +91,4 @@ if(WIN32) set_target_properties(Drawing PROPERTIES SUFFIX ".pyd") endif(WIN32) -if(MSVC) - # Set special compiler flag to convert a SIGSEV into an exception - # to fix issue #0000478 - set_target_properties(Drawing PROPERTIES COMPILE_FLAGS "/EHa") -endif(MSVC) - INSTALL(TARGETS Drawing DESTINATION lib) diff --git a/src/Mod/Import/App/CMakeLists.txt b/src/Mod/Import/App/CMakeLists.txt index df9f581b2..b697212fd 100644 --- a/src/Mod/Import/App/CMakeLists.txt +++ b/src/Mod/Import/App/CMakeLists.txt @@ -75,9 +75,4 @@ if(WIN32) set_target_properties(Import PROPERTIES SUFFIX ".pyd") endif(WIN32) -if(MSVC) - # Set special compiler flag to convert a SIGSEV into an exception - set_target_properties(Import PROPERTIES COMPILE_FLAGS "/EHa") -endif(MSVC) - INSTALL(TARGETS Import DESTINATION lib) diff --git a/src/Mod/Import/Gui/CMakeLists.txt b/src/Mod/Import/Gui/CMakeLists.txt index 9df395e7f..3bd4a69b5 100644 --- a/src/Mod/Import/Gui/CMakeLists.txt +++ b/src/Mod/Import/Gui/CMakeLists.txt @@ -52,9 +52,4 @@ if(WIN32) set_target_properties(ImportGui PROPERTIES SUFFIX ".pyd") endif(WIN32) -if(MSVC) - # Set special compiler flag to convert a SIGSEV into an exception - set_target_properties(ImportGui PROPERTIES COMPILE_FLAGS "/EHa") -endif(MSVC) - INSTALL(TARGETS ImportGui DESTINATION lib) diff --git a/src/Mod/Part/App/CMakeLists.txt b/src/Mod/Part/App/CMakeLists.txt index e0e7964d9..d324416fc 100644 --- a/src/Mod/Part/App/CMakeLists.txt +++ b/src/Mod/Part/App/CMakeLists.txt @@ -268,10 +268,4 @@ if(WIN32) set_target_properties(Part PROPERTIES SUFFIX ".pyd") endif(WIN32) -if(MSVC) - # Set special compiler flag to convert a SIGSEV into an exception - # to fix issue #0000215, #0001155, ... - set_target_properties(Part PROPERTIES COMPILE_FLAGS "/EHa") -endif(MSVC) - INSTALL(TARGETS Part DESTINATION lib)