mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-14 01:32:07 +08:00
fix inclusion of fmt
This commit is contained in:
parent
14381fe8d0
commit
49708f209b
@ -22,6 +22,6 @@
|
|||||||
#include "bundled/core.h"
|
#include "bundled/core.h"
|
||||||
#include "bundled/format.h"
|
#include "bundled/format.h"
|
||||||
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
||||||
#include <fmt/core.h>
|
#include "fmt/core.h"
|
||||||
#include <fmt/format.h>
|
#include "fmt/format.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -5,7 +5,11 @@
|
|||||||
//
|
//
|
||||||
// For the license information refer to format.h.
|
// For the license information refer to format.h.
|
||||||
|
|
||||||
|
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||||
|
#include "spdlog/fmt/bundled/format-inl.h"
|
||||||
|
#else
|
||||||
#include "fmt/format-inl.h"
|
#include "fmt/format-inl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
FMT_BEGIN_NAMESPACE
|
FMT_BEGIN_NAMESPACE
|
||||||
template struct internal::basic_data<void>;
|
template struct internal::basic_data<void>;
|
||||||
|
Loading…
Reference in New Issue
Block a user