curl: use tarball

This commit is contained in:
Minglei Jin 2023-08-09 13:15:25 +08:00
parent 7e2859ed43
commit 56b348abf2
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,10 @@
# curl
ExternalProject_Add(curl
GIT_REPOSITORY https://github.com/curl/curl.git
GIT_TAG curl-7_88_1
URL https://curl.se/download/curl-8.2.1.tar.gz
DOWNLOAD_NO_PROGRESS 1
DOWNLOAD_DIR "${TD_CONTRIB_DIR}/deps-download"
#GIT_REPOSITORY https://github.com/curl/curl.git
#GIT_TAG curl-7_88_1
SOURCE_DIR "${TD_CONTRIB_DIR}/curl"
BUILD_IN_SOURCE TRUE
CONFIGURE_COMMAND ./configure --prefix=${CMAKE_BINARY_DIR}/build/