We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb37f79 commit 7b7b35dCopy full SHA for 7b7b35d
CMakeLists.txt
@@ -37,7 +37,7 @@ if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
37
set(CMAKE_CXX_FLAGS "-Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -Wextra")
38
else()
39
message(STATUS "MSVC compiler in use")
40
- set(CMAKE_CXX_FLAGS "/Wall /W4")
+ set(CMAKE_CXX_FLAGS "/Wall /W4 /EHsc")
41
endif()
42
43
add_compile_definitions(NAPI_CPP_EXCEPTIONS)
0 commit comments