mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 23:12:07 +00:00
misc(cmake): use url deps and not git repo
This commit is contained in:
parent
52208f5b78
commit
62dba1a878
@ -1,6 +1,5 @@
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
fmt
|
fmt
|
||||||
GIT_REPOSITORY https://github.com/fmtlib/fmt
|
URL https://github.com/fmtlib/fmt/archive/refs/tags/11.0.2.tar.gz
|
||||||
GIT_TAG 11.0.1
|
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(fmt)
|
FetchContent_MakeAvailable(fmt)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
set(SPDLOG_USE_FMT ON)
|
set(SPDLOG_USE_FMT ON)
|
||||||
set(SPDLOG_BUILD_SHARED OFF)
|
set(SPDLOG_BUILD_SHARED ON)
|
||||||
set(SPDLOG_FMT_EXTERNAL ON)
|
set(SPDLOG_FMT_EXTERNAL ON)
|
||||||
|
|
||||||
# Define the level at which SPDLOG_ compilation level is defined
|
# Define the level at which SPDLOG_ compilation level is defined
|
||||||
@ -12,7 +12,6 @@ endif ()
|
|||||||
|
|
||||||
fetchcontent_declare(
|
fetchcontent_declare(
|
||||||
spdlog
|
spdlog
|
||||||
GIT_REPOSITORY https://github.com/gabime/spdlog.git
|
URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz
|
||||||
GIT_TAG v1.14.1
|
|
||||||
)
|
)
|
||||||
fetchcontent_makeavailable(spdlog)
|
fetchcontent_makeavailable(spdlog)
|
||||||
|
Loading…
Reference in New Issue
Block a user