From 4834b277896b8c230d83cab2f1ebd2c2f552fd05 Mon Sep 17 00:00:00 2001 From: "John K. Luebs" Date: Sun, 22 Jan 2023 08:10:43 -0600 Subject: [PATCH] Do not use shallow git clones for dependencies pinned at a raw commit hash --- cmake/dependencies/atrac9.cmake | 1 + cmake/dependencies/celt.cmake | 4 ++-- cmake/dependencies/g719.cmake | 1 + cmake/dependencies/jansson.cmake | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cmake/dependencies/atrac9.cmake b/cmake/dependencies/atrac9.cmake index 2dfa218b..02ec805c 100644 --- a/cmake/dependencies/atrac9.cmake +++ b/cmake/dependencies/atrac9.cmake @@ -3,6 +3,7 @@ if(NOT WIN32 AND USE_ATRAC9) DIR LibAtrac9 GIT_REPOSITORY https://github.com/Thealexbarney/LibAtrac9 GIT_TAG 6a9e00f6c7abd74d037fd210b6670d3cdb313049 + GIT_UNSHALLOW ON ) if(ATRAC9_PATH) diff --git a/cmake/dependencies/celt.cmake b/cmake/dependencies/celt.cmake index d1680198..d3f2d387 100644 --- a/cmake/dependencies/celt.cmake +++ b/cmake/dependencies/celt.cmake @@ -7,7 +7,7 @@ if(NOT WIN32 AND USE_CELT) FILE_SUBDIR celt-0.6.1 GIT_REPOSITORY https://gitlab.xiph.org/xiph/celt - GIT_TAG 8ccf148573277b983692e15d5f0753081f806bea + GIT_TAG v0.6.1 ) FetchDependency(CELT_0110 DIR celt-0110 @@ -17,7 +17,7 @@ if(NOT WIN32 AND USE_CELT) FILE_SUBDIR celt-0.11.0 GIT_REPOSITORY https://gitlab.xiph.org/xiph/celt - GIT_TAG 0b405d1170122c859faab435405666506d52fa2e + GIT_TAG v0.11 ) if(CELT_0061_PATH AND CELT_0110_PATH) set(CELT_0061_LINK_PATH ${CELT_0061_BIN}/libcelt/.libs/libcelt.a) diff --git a/cmake/dependencies/g719.cmake b/cmake/dependencies/g719.cmake index 913d75ed..c0b6bf9e 100644 --- a/cmake/dependencies/g719.cmake +++ b/cmake/dependencies/g719.cmake @@ -3,6 +3,7 @@ if(NOT WIN32 AND USE_G719) DIR libg719_decode GIT_REPOSITORY https://github.com/kode54/libg719_decode GIT_TAG da90ad8a676876c6c47889bcea6a753f9bbf7a73 + GIT_UNSHALLOW ON ) if(G719_PATH) diff --git a/cmake/dependencies/jansson.cmake b/cmake/dependencies/jansson.cmake index 0d87c16c..a3c833d1 100644 --- a/cmake/dependencies/jansson.cmake +++ b/cmake/dependencies/jansson.cmake @@ -13,7 +13,7 @@ if(NOT WIN32 AND USE_JANSSON) FetchDependency(JANSSON DIR jansson GIT_REPOSITORY https://github.com/akheron/jansson - GIT_TAG 684e18c927e89615c2d501737e90018f4930d6c5 + GIT_TAG v2.14 ) if(JANSSON_PATH)