diff --git a/cmake/compiler.cmake b/cmake/compiler.cmake index c5528976..ebf42d84 100644 --- a/cmake/compiler.cmake +++ b/cmake/compiler.cmake @@ -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)