Add alternative URLs for downloading deps (#80)
This commit is contained in:
@@ -2,6 +2,7 @@ function(download_portaudio)
|
||||
include(FetchContent)
|
||||
|
||||
set(portaudio_URL "http://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz")
|
||||
set(portaudio_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/pa_stable_v190700_20210406.tgz")
|
||||
set(portaudio_HASH "SHA256=47efbf42c77c19a05d22e627d42873e991ec0c1357219c0d74ce6a2948cb2def")
|
||||
|
||||
# If you don't have access to the Internet, please download it to your
|
||||
@@ -31,7 +32,9 @@ function(download_portaudio)
|
||||
endif()
|
||||
|
||||
FetchContent_Declare(portaudio
|
||||
URL ${portaudio_URL}
|
||||
URL
|
||||
${portaudio_URL}
|
||||
${portaudio_URL2}
|
||||
URL_HASH ${portaudio_HASH}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user