Introduced curl dependency
This commit is contained in:
17
3rdParty/curl/CMakeLists.txt
vendored
Normal file
17
3rdParty/curl/CMakeLists.txt
vendored
Normal 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)
|
||||
Reference in New Issue
Block a user