1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 14:57:44 +00:00

Need to disable SAFESEH before /ZI

This commit is contained in:
ShelbyZ 2017-10-22 10:43:33 -07:00
parent c6c3bf4a25
commit b17098414b

View file

@ -10,6 +10,10 @@ else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
# disabling SAFESEH
message(STATUS "Disabling Safe Exception Handlers..")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SAFESEH:NO")
# edit and continue
message(STATUS "Enabling Edit and Continue..")
add_definitions(/ZI)