mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-16 01:37:58 +00:00
Compare commits
4 Commits
a5f4139102
...
aa2053a575
Author | SHA1 | Date | |
---|---|---|---|
|
aa2053a575 | ||
|
3d8f71c4d2 | ||
|
6aaaabbc4d | ||
|
42c36f48ed |
@ -172,7 +172,7 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
|
||||
# ---------------------------------------------------------------------------------------
|
||||
if(SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO)
|
||||
if(NOT TARGET fmt::fmt)
|
||||
find_package(fmt 5.3.0 REQUIRED)
|
||||
find_package(fmt 5.3.0 CONFIG REQUIRED)
|
||||
endif()
|
||||
target_compile_definitions(spdlog PUBLIC SPDLOG_FMT_EXTERNAL)
|
||||
target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_FMT_EXTERNAL)
|
||||
|
@ -9,7 +9,12 @@
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "spdlog/async.h"
|
||||
#include "spdlog/sinks/basic_file_sink.h"
|
||||
|
||||
#ifdef SPDLOG_FMT_EXTERNAL
|
||||
#include <fmt/locale.h>
|
||||
#else
|
||||
#include "spdlog/fmt/bundled/locale.h"
|
||||
#endif
|
||||
|
||||
#include "utils.h"
|
||||
#include <atomic>
|
||||
|
@ -11,7 +11,12 @@
|
||||
#include "spdlog/sinks/daily_file_sink.h"
|
||||
#include "spdlog/sinks/null_sink.h"
|
||||
#include "spdlog/sinks/rotating_file_sink.h"
|
||||
|
||||
#ifdef SPDLOG_FMT_EXTERNAL
|
||||
#include <fmt/locale.h>
|
||||
#else
|
||||
#include "spdlog/fmt/bundled/locale.h"
|
||||
#endif
|
||||
|
||||
#include "utils.h"
|
||||
#include <atomic>
|
||||
|
Loading…
Reference in New Issue
Block a user