fix inclusion of fmt

This commit is contained in:
gabime 2019-05-11 12:28:36 +03:00
parent 14381fe8d0
commit 49708f209b
2 changed files with 36 additions and 32 deletions

View File

@ -22,6 +22,6 @@
#include "bundled/core.h"
#include "bundled/format.h"
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
#include <fmt/core.h>
#include <fmt/format.h>
#include "fmt/core.h"
#include "fmt/format.h"
#endif

View File

@ -5,7 +5,11 @@
//
// 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"
#endif
FMT_BEGIN_NAMESPACE
template struct internal::basic_data<void>;