chore(cmake): use correct policy for download_timestamp

This commit is contained in:
Morgan Funtowicz 2024-10-17 13:12:34 +02:00
parent 819c953771
commit f20ec28891
4 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
FetchContent_Declare(
fmt
URL https://github.com/fmtlib/fmt/archive/refs/tags/11.0.2.tar.gz
DOWNLOAD_EXTRACT_TIMESTAMP
)
FetchContent_MakeAvailable(fmt)

View File

@ -1,5 +1,6 @@
fetchcontent_declare(
json
URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz
DOWNLOAD_EXTRACT_TIMESTAMP
)
fetchcontent_makeavailable(json)

View File

@ -12,5 +12,6 @@ endif ()
fetchcontent_declare(
spdlog
URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz
DOWNLOAD_EXTRACT_TIMESTAMP
)
fetchcontent_makeavailable(spdlog)

View File

@ -25,6 +25,7 @@ fetchcontent_declare(
GIT_REPOSITORY https://github.com/NVIDIA/TensorRT-LLM.git
GIT_TAG 201135e58aa525af7e523d091d4c9584229524bc
GIT_SHALLOW FALSE
DOWNLOAD_EXTRACT_TIMESTAMP
)
fetchcontent_makeavailable(trtllm)