Skip to content

Commit

Permalink
Explicitly add EHsc to MSVC compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
janisozaur authored and NikolajBjorner committed Oct 24, 2019
1 parent 60dde9f commit 837651e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/msvc_legacy_quirks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ if (("${TARGET_ARCHITECTURE}" STREQUAL "x86_64") OR ("${TARGET_ARCHITECTURE}" ST
z3_add_cxx_flag("/Gd" REQUIRED)
endif()

z3_add_cxx_flag("/EHsc" REQUIRED)

################################################################################
# Linker flags
################################################################################
Expand Down

0 comments on commit 837651e

Please sign in to comment.