File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -122,11 +122,14 @@ set(SPDLOG_NO_TLS ON CACHE BOOL "prevent spdlog from using thread local storage"
122122set (SPDLOG_FMT_EXTERNAL ON CACHE BOOL "Use external fmt library instead of bundled" )
123123
124124set (SPDLOG_REPO gabime/spdlog)
125- set (SPDLOG_VER v1.14.1 )
125+ set (SPDLOG_VER v1.15.0 )
126126FetchContent_Declare(spdlog
127127 GIT_REPOSITORY https://github.com/${SPDLOG_REPO}
128128 GIT_TAG ${SPDLOG_VER}
129129 GIT_SHALLOW TRUE
130+
131+ PATCH_COMMAND patch -p0 -s -f -i ${CMAKE_CURRENT_LIST_DIR} /patches/spdlog.diff
132+ LOG_PATCH ON
130133)
131134list (APPEND DECLARED_DEPENDENCIES spdlog)
132135list (APPEND DEPENDECIES_JSON "\" spdlog\" : \" pkg:github/${SPDLOG_REPO} @${SPDLOG_VER} \" " )
Original file line number Diff line number Diff line change 1+ --- include/spdlog/fmt/fmt.h
2+ +++ include/spdlog/fmt/fmt.h
3+ @@ -27,4 +27,5 @@
4+ #else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
5+ #include <fmt/core.h>
6+ #include <fmt/format.h>
7+ + #include <fmt/xchar.h>
8+ #endif
You can’t perform that action at this time.
0 commit comments