Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
9d4f0162
Commit
9d4f0162
authored
5 years ago
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: add directory creation to download helper scripts
parent
d974d4c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
OpenCVDownload.cmake
cmake/OpenCVDownload.cmake
+2
-2
No files found.
cmake/OpenCVDownload.cmake
View file @
9d4f0162
...
...
@@ -204,8 +204,8 @@ For details please refer to the download log file:
${
OPENCV_DOWNLOAD_LOG
}
"
)
# write helper scripts for failed downloads
file
(
APPEND
"
${
OPENCV_DOWNLOAD_WITH_CURL
}
"
"curl --output
\"
${
CACHE_CANDIDATE
}
\"
\"
${
DL_URL
}
\"\n
"
)
file
(
APPEND
"
${
OPENCV_DOWNLOAD_WITH_WGET
}
"
"wget -O
\"
${
CACHE_CANDIDATE
}
\"
\"
${
DL_URL
}
\"\n
"
)
file
(
APPEND
"
${
OPENCV_DOWNLOAD_WITH_CURL
}
"
"curl --
create-dirs --
output
\"
${
CACHE_CANDIDATE
}
\"
\"
${
DL_URL
}
\"\n
"
)
file
(
APPEND
"
${
OPENCV_DOWNLOAD_WITH_WGET
}
"
"
mkdir -p $(dirname
${
CACHE_CANDIDATE
}
) &&
wget -O
\"
${
CACHE_CANDIDATE
}
\"
\"
${
DL_URL
}
\"\n
"
)
return
()
endif
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment