Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
+ Remove redefinition of /EHa which causes warnings with QtCreator
  • Loading branch information
wwmayer committed Apr 30, 2014
1 parent 7be7310 commit 66de74d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 22 deletions.
6 changes: 0 additions & 6 deletions src/Mod/Drawing/App/CMakeLists.txt
Expand Up @@ -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)
5 changes: 0 additions & 5 deletions src/Mod/Import/App/CMakeLists.txt
Expand Up @@ -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)
5 changes: 0 additions & 5 deletions src/Mod/Import/Gui/CMakeLists.txt
Expand Up @@ -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)
6 changes: 0 additions & 6 deletions src/Mod/Part/App/CMakeLists.txt
Expand Up @@ -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)

0 comments on commit 66de74d

Please sign in to comment.