mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-11-02 20:54:03 +08:00
@@ -17,7 +17,7 @@ endfunction()
|
||||
function(download_and_decompress url filename decompress_dir)
|
||||
if(NOT EXISTS ${filename})
|
||||
message("Downloading file from ${url} to ${filename} ...")
|
||||
file(DOWNLOAD ${url} "${filename}.tmp")
|
||||
file(DOWNLOAD ${url} "${filename}.tmp" SHOW_PROGRESS)
|
||||
file(RENAME "${filename}.tmp" ${filename})
|
||||
endif()
|
||||
if(NOT EXISTS ${decompress_dir})
|
||||
|
||||
Reference in New Issue
Block a user