Add alternative URLs for downloading deps (#80)
This commit is contained in:
@@ -2,6 +2,7 @@ function(download_asio)
|
||||
include(FetchContent)
|
||||
|
||||
set(asio_URL "https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-24-0.tar.gz")
|
||||
set(asio_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/asio-asio-1-24-0.tar.gz")
|
||||
set(asio_HASH "SHA256=cbcaaba0f66722787b1a7c33afe1befb3a012b5af3ad7da7ff0f6b8c9b7a8a5b")
|
||||
|
||||
# If you don't have access to the Internet,
|
||||
@@ -22,7 +23,9 @@ function(download_asio)
|
||||
endforeach()
|
||||
|
||||
FetchContent_Declare(asio
|
||||
URL ${asio_URL}
|
||||
URL
|
||||
${asio_URL}
|
||||
${asio_URL2}
|
||||
URL_HASH ${asio_HASH}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user