File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -265,14 +265,12 @@ if (DEFINED ENV{CURL_SOURCE_DIR})
265
265
BUILD_IN_SOURCE 1
266
266
)
267
267
else ()
268
- set (CURL_VERSION 8.14.1 )
269
- message (STATUS "Building curl from downloaded source, version ${CURL_VERSION} " )
270
- # The URL needs dots replaced with underscores for curl's release naming convention.
271
- string (REPLACE "." "_" CURL_VERSION_UNDERSCORE ${CURL_VERSION} )
272
- set (CURL_URL https://github.com/curl/curl/releases/download/curl-${CURL_VERSION_UNDERSCORE}/curl-${CURL_VERSION}.tar.gz )
268
+ message (STATUS "Building curl from git master" )
269
+ set (CURL_URL "https://github.com/curl/curl" )
273
270
ExternalProject_Add (
274
271
curl_external
275
- URL ${CURL_URL}
272
+ GIT_REPOSITORY ${CURL_URL}
273
+ GIT_SHALLOW 1
276
274
PREFIX ${CMAKE_BINARY_DIR} /curl
277
275
CONFIGURE_COMMAND ${CURL_CONFIGURE_COMMAND}
278
276
BUILD_COMMAND $ (MAKE )
You can’t perform that action at this time.
0 commit comments