Skip to content

Commit

Permalink
Making spdlog patch work with older CMakes
Browse files Browse the repository at this point in the history
  • Loading branch information
gershnik committed Jan 11, 2025
1 parent 985dbd2 commit 28f7814
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,11 @@ set(SPDLOG_FMT_EXTERNAL ON CACHE BOOL "Use external fmt library instead of bundl
set(SPDLOG_REPO gabime/spdlog)
set(SPDLOG_VER v1.15.0)
FetchContent_Declare(spdlog
GIT_REPOSITORY https://github.com/${SPDLOG_REPO}
GIT_TAG ${SPDLOG_VER}
GIT_SHALLOW TRUE
# GIT_REPOSITORY https://github.com/${SPDLOG_REPO}
# GIT_TAG ${SPDLOG_VER}
# GIT_SHALLOW TRUE

URL https://github.com/${SPDLOG_REPO}/tarball/${SPDLOG_VER}

PATCH_COMMAND patch -p0 -s -f -i ${CMAKE_CURRENT_LIST_DIR}/patches/spdlog.diff
LOG_PATCH ON
Expand Down

0 comments on commit 28f7814

Please sign in to comment.