Skip to content

Commit 6f8c871

Browse files
[Misc] Fix Opencv Download URL Invaild (#457)
* add proxy for github download onnxruntime * update code to fix potential bug of half vector * update opencv download url
1 parent 70f02c4 commit 6f8c871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/opencv.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ set(OpenCV_Version "4.9.0-ffmpeg4.2.2" CACHE STRING "OpenCV version" FORCE)
22
set(OpenCV_DIR ${THIRD_PARTY_PATH}/opencv)
33
# download from github if opencv library is not exists
44
if (NOT EXISTS ${OpenCV_DIR})
5-
set(OpenCV_Filename "opencv-${OpenCV_Version}-linux-x86_64.tgz")
6-
set(OpenCV_URL https://github.com/DefTruth/lite.ai.toolkit/releases/download/v0.2.0-rc0/${OpenCV_Filename})
5+
set(OpenCV_Filename "opencv.tar.gz")
6+
set(OpenCV_URL https://ghfast.top/https://github.com/xlite-dev/lite.ai.toolkit/releases/download/v0.0.1/opencv.tar.gz)
77
message("[Lite.AI.Toolkit][I] Downloading library: ${OpenCV_URL}")
88
download_and_decompress(${OpenCV_URL} ${OpenCV_Filename} ${OpenCV_DIR})
99
create_ffmpeg_syslinks_if_not_found(${OpenCV_DIR}/lib)

0 commit comments

Comments
 (0)