Update no exception flag in CMakeLists.txt for msvc

This commit is contained in:
Gabi Melman 2024-01-10 00:13:11 +02:00 committed by GitHub
parent 944a542769
commit ae0eb75402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
# ---------------------------------------------------------------------------------------