Removed windows specific CMakeLists.txt for building curl, moved build logic to the link function
This commit is contained in:
5
3rdParty/curl/ext/CMakeLists.txt
vendored
5
3rdParty/curl/ext/CMakeLists.txt
vendored
@@ -6,6 +6,9 @@ include(FetchContent)
|
||||
if (NOT DEFINED CURL_REPO OR CURL_REPO STREQUAL "")
|
||||
set(CURL_REPO https://github.com/curl/curl.git)
|
||||
endif ()
|
||||
if (NOT DEFINED CURL_GIT_TAG OR CURL_GIT_TAG STREQUAL "")
|
||||
set(CURL_GIT_TAG curl-8_8_0)
|
||||
endif ()
|
||||
if (NOT DEFINED OPENSSL_REPO OR OPENSSL_REPO STREQUAL "")
|
||||
set(OPENSSL_REPO https://github.com/openssl/openssl.git)
|
||||
endif ()
|
||||
@@ -29,8 +32,6 @@ else ()
|
||||
set(OPENSSL_MAKE_COMMAND make)
|
||||
endif ()
|
||||
|
||||
set(CURL_GIT_TAG curl-8_8_0)
|
||||
|
||||
function(InstallOpenSSL)
|
||||
ExternalProject_Add(
|
||||
OpenSSL
|
||||
|
||||
Reference in New Issue
Block a user