Fix warning C4530

pull/3393/head
Hinageshi 4 months ago
parent 847db3375f
commit 863048b0e3

@ -310,6 +310,7 @@ if (SPDLOG_NO_EXCEPTIONS)
target_compile_options(spdlog PRIVATE -fno-exceptions) target_compile_options(spdlog PRIVATE -fno-exceptions)
else () else ()
target_compile_options(spdlog PRIVATE /EHs-c-) target_compile_options(spdlog PRIVATE /EHs-c-)
target_compile_definitions(spdlog PRIVATE _HAS_EXCEPTIONS=0)
endif () endif ()
endif () endif ()
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------

Loading…
Cancel
Save