mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-27 07:14:12 +08:00
Fix MSVC compile flag for no exceptions (#2974)
This commit is contained in:
parent
1ef8d3ce34
commit
7cb90d1ab2
@ -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()
|
||||
# ---------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user