Removed usages of SPDLOG_COMPILED_LIB macro

This commit is contained in:
gabime
2023-09-24 13:32:48 +03:00
parent 6d520df916
commit cff3e27115
10 changed files with 1 additions and 36 deletions

View File

@@ -7,19 +7,14 @@
//
// Include a bundled header-only copy of fmtlib or an external one.
// By default spdlog include its own copy.
// By default, spdlog include its own copy.
//
#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format
# include <format>
#elif !defined(SPDLOG_FMT_EXTERNAL)
# if !defined(SPDLOG_COMPILED_LIB) && !defined(FMT_HEADER_ONLY)
# define FMT_HEADER_ONLY
# endif
# include <spdlog/fmt/bundled/core.h>
# include <spdlog/fmt/bundled/format.h>
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
# include <fmt/core.h>
# include <fmt/format.h>