forked from weaselab/weaseldb
Switch llhttp FetchContent to git repository
The tarball download redirects to codeload.github.com, which can be unreliable in restricted network environments. Fetching the same release via git uses github.com directly and pins the exact commit.
This commit is contained in:
+3
-4
@@ -80,10 +80,9 @@ FetchContent_MakeAvailable(simdutf)
|
|||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
llhttp
|
llhttp
|
||||||
URL "https://github.com/nodejs/llhttp/archive/refs/tags/release/v9.2.1.tar.gz"
|
GIT_REPOSITORY https://github.com/nodejs/llhttp.git
|
||||||
URL_HASH
|
GIT_TAG 610a87d755f6bae466cd871c2ba97574ccac5483 # release/v9.2.1
|
||||||
SHA256=3c163891446e529604b590f9ad097b2e98b5ef7e4d3ddcf1cf98b62ca668f23e
|
)
|
||||||
DOWNLOAD_EXTRACT_TIMESTAMP ON)
|
|
||||||
set(BUILD_SHARED_LIBS
|
set(BUILD_SHARED_LIBS
|
||||||
OFF
|
OFF
|
||||||
CACHE INTERNAL "")
|
CACHE INTERNAL "")
|
||||||
|
|||||||
Reference in New Issue
Block a user