We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 847db33 commit 548b264Copy full SHA for 548b264
CMakeLists.txt
@@ -304,12 +304,13 @@ endif ()
304
# ---------------------------------------------------------------------------------------
305
if (SPDLOG_NO_EXCEPTIONS)
306
if (NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)
307
- target_compile_definitions(spdlog PUBLIC FMT_EXCEPTIONS=0)
+ target_compile_definitions(spdlog PUBLIC FMT_USE_EXCEPTIONS=0)
308
endif ()
309
if (NOT MSVC)
310
target_compile_options(spdlog PRIVATE -fno-exceptions)
311
else ()
312
target_compile_options(spdlog PRIVATE /EHs-c-)
313
+ target_compile_definitions(spdlog PRIVATE _HAS_EXCEPTIONS=0)
314
315
316
0 commit comments