Skip to content

Commit

Permalink
Enable C++ exception handling on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Aug 9, 2022
1 parent 2f8bffe commit 515ad0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msgpack/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_executable(Msgpack_tests
)

if (MSVC)
target_compile_options(Msgpack_tests PRIVATE /WX /Zc:__cplusplus)
target_compile_options(Msgpack_tests PRIVATE /WX /Zc:__cplusplus /EHsc)
else (MSVC)
target_compile_options(Msgpack_tests PRIVATE -Wall -Wextra -pedantic -Werror)
endif (MSVC)
Expand Down

0 comments on commit 515ad0c

Please sign in to comment.