Introduced curl dependency

This commit is contained in:
Vladyslav Baranovskyi
2024-06-16 18:46:35 +03:00
parent 132da7e870
commit 285396f9ce
3 changed files with 19 additions and 1 deletions

17
3rdParty/curl/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,17 @@
include(FetchContent)
if(NOT DEFINED CURL_REPO)
set(CURL_REPO https://github.com/curl/curl)
endif()
FetchContent_Declare(
curl
GIT_REPOSITORY ${CURL_REPO}
GIT_TAG curl-7_79_1
)
set(BUILD_CURL_EXE OFF)
set(CURL_USE_OPENSSL OFF)
set(CURL_USE_ZLIB OFF)
FetchContent_MakeAvailable(curl)