aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/msvc
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-09-28 12:03:34 +0200
committerShauren <shauren.trinity@gmail.com>2014-09-28 12:03:34 +0200
commit48b7e0c60c9b675e5c5644081a675c71dafc174e (patch)
treec202894cfbc9a043f1ac37cdd6cd63e275d93fc1 /cmake/compiler/msvc
parent9657d1879ade6bae876b5503dd20edb0327558c1 (diff)
Buildsystem/MSVC: Removed /SAFESEH linker option from x86 debug builds as it doesn't make sense in debug builds and interferes with Edit and Continue
Closes #13233
Diffstat (limited to 'cmake/compiler/msvc')
-rw-r--r--cmake/compiler/msvc/settings.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/compiler/msvc/settings.cmake b/cmake/compiler/msvc/settings.cmake
index b68a0de1ace..a455e97cc21 100644
--- a/cmake/compiler/msvc/settings.cmake
+++ b/cmake/compiler/msvc/settings.cmake
@@ -28,6 +28,9 @@ else()
add_definitions(/arch:SSE2)
message(STATUS "MSVC: Enabled SSE2 support")
+
+ set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} /SAFESEH:NO")
+ message(STATUS "MSVC: Disabled Safe Exception Handlers for debug builds")
endif()
# Set build-directive (used in core to tell which buildtype we used)