projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee9137f
)
Fix the problem that "ADE" downloaded from GitCode doesn't work.
author
zoom
<zhongwl2018@mail.sustech.edu.cn>
Thu, 3 Nov 2022 08:54:08 +0000
(16:54 +0800)
committer
zoom
<zhongwl2018@mail.sustech.edu.cn>
Thu, 3 Nov 2022 08:54:08 +0000
(16:54 +0800)
cmake/mirrors/gitcode.cmake
patch
|
blob
|
history
diff --git
a/cmake/mirrors/gitcode.cmake
b/cmake/mirrors/gitcode.cmake
index ec0893f3f7173fef47807267cb238a020ae2cdc1..c9d41e74581f6b5113f39e28f0cd1c7baf7bee01 100644
(file)
--- a/
cmake/mirrors/gitcode.cmake
+++ b/
cmake/mirrors/gitcode.cmake
@@
-64,7
+64,7
@@
macro(ocv_download_url_gitcode_archive_release SUBDIR)
list(GET DL_URL_split 4 __REPO_NAME)
set(DL_URL "https://gitcode.net/${__OWNER}/${__REPO_NAME}/-/archive/${${DL_ID}_RELEASE_GITCODE}/${__REPO_NAME}-")
set(DL_HASH "${${DL_ID}_PKG_MD5_GITCODE}")
- set(
SUBDIR
"${${DL_ID}_PKG_NAME_GITCODE}" PARENT_SCOPE)
+ set(
${SUBDIR}
"${${DL_ID}_PKG_NAME_GITCODE}" PARENT_SCOPE)
else()
message(WARNING "Package ${DL_ID} from mirror gitcode.net is outdated and will be downloaded from github.com instead.")
endif()