Fix MSVC compile flag for no exceptions (#2974)

pull/2978/head
Jeff 2 years ago committed by GitHub
parent 1ef8d3ce34
commit 7cb90d1ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save