Skip to content

Commit

Permalink
Fix MSVC compile flag for no exceptions (#2974)
Browse files Browse the repository at this point in the history
  • Loading branch information
Programicus committed Jan 9, 2024
1 parent 1ef8d3c commit 7cb90d1
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 @@ -265,7 +265,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 7cb90d1

Please sign in to comment.