From 28f7814eee5daa2da4726c4b16cfb5a4f2f336cd Mon Sep 17 00:00:00 2001 From: Eugene Gershnik Date: Fri, 10 Jan 2025 16:13:38 -0800 Subject: [PATCH] Making spdlog patch work with older CMakes --- cmake/dependencies.cmake | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake index 2a293d2..df2012e 100644 --- a/cmake/dependencies.cmake +++ b/cmake/dependencies.cmake @@ -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