mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Update no exception flag in CMakeLists.txt for msvc
This commit is contained in:
@@ -332,7 +332,7 @@ if(SPDLOG_NO_EXCEPTIONS)
|
|||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
target_compile_options(spdlog PRIVATE -fno-exceptions)
|
target_compile_options(spdlog PRIVATE -fno-exceptions)
|
||||||
else()
|
else()
|
||||||
target_compile_options(spdlog PRIVATE /EHsc)
|
target_compile_options(spdlog PRIVATE /EHs-c-)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
# ---------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user