diff --git a/backends/llamacpp/cmake/fmt.cmake b/backends/llamacpp/cmake/fmt.cmake index f94a9c566..840280ca8 100644 --- a/backends/llamacpp/cmake/fmt.cmake +++ b/backends/llamacpp/cmake/fmt.cmake @@ -1,6 +1,5 @@ FetchContent_Declare( fmt - GIT_REPOSITORY https://github.com/fmtlib/fmt - GIT_TAG 11.0.1 + URL https://github.com/fmtlib/fmt/archive/refs/tags/11.0.2.tar.gz ) FetchContent_MakeAvailable(fmt) diff --git a/backends/llamacpp/cmake/spdlog.cmake b/backends/llamacpp/cmake/spdlog.cmake index 68658ba50..04c218b58 100644 --- a/backends/llamacpp/cmake/spdlog.cmake +++ b/backends/llamacpp/cmake/spdlog.cmake @@ -1,18 +1,17 @@ set(SPDLOG_USE_FMT ON) -set(SPDLOG_BUILD_SHARED OFF) +set(SPDLOG_BUILD_SHARED ON) set(SPDLOG_FMT_EXTERNAL ON) # Define the level at which SPDLOG_ compilation level is defined if (CMAKE_BUILD_TYPE STREQUAL "Debug") message(STATUS "Verbose logging is enabled in debug build") add_compile_definitions(SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG) -else() +else () add_compile_definitions(SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_INFO) endif () fetchcontent_declare( spdlog - GIT_REPOSITORY https://github.com/gabime/spdlog.git - GIT_TAG v1.14.1 + URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz ) fetchcontent_makeavailable(spdlog)