Skip to content

Commit

Permalink
Update no exception flag in CMakeLists.txt for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Jan 9, 2024
1 parent 944a542 commit ae0eb75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ if(SPDLOG_NO_EXCEPTIONS)
if(NOT MSVC)
target_compile_options(spdlog PRIVATE -fno-exceptions)
else()
target_compile_options(spdlog PRIVATE /EHsc)
target_compile_options(spdlog PRIVATE /EHs-c-)
endif()
endif()
# ---------------------------------------------------------------------------------------
Expand Down

0 comments on commit ae0eb75

Please sign in to comment.