File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
- set (VERSION 8.12.1 )
1
+ set (VERSION 8.13.0-rc2 )
2
2
string (REPLACE "." "_" TAG ${VERSION} )
3
3
4
- set (FILENAME "curl-${VERSION} .zip" )
5
- set (URLS "https://github.com/curl/curl/releases/download/curl-${TAG} /${FILENAME} " )
4
+ set (FILENAME "curl-${VERSION} .tar.xz" )
5
+ if (VERSION MATCHES "-rc" )
6
+ set (URLS "https://curl.se/rc/${FILENAME} " )
7
+ else ()
8
+ set (URLS
9
+ "https://curl.se/download/${FILENAME} "
10
+ "https://github.com/curl/curl/releases/download/curl-${TAG} /${FILENAME} "
11
+ )
12
+ endif ()
6
13
7
14
# Get archive
8
15
vcpkg_download_distfile(ARCHIVE
9
16
URLS ${URLS}
10
17
FILENAME ${FILENAME}
11
- SHA512 c0be503358811b82f360f6bc65389b7b6e45526c1078689df4a6ae5f848c2103babac2f2fcc0bed0c562c22948b990684a420b83aadf028b3912bf2b361c3462
18
+ SHA512 299b41b5bf52b29f5064f68cd7d8d1e95d8b8f8b36fb80fb67ed2b342123f1fc87a543754cbee8c49c83a8e73daca89cb132a76c795d7fa4d9231c6bf281a9e0
12
19
)
13
20
14
21
# Extract archive
You can’t perform that action at this time.
0 commit comments