mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
deps: cURL: Set default SSL backends
This commit is contained in:
parent
d9082f8abd
commit
762ed2b940
1 changed files with 3 additions and 1 deletions
|
@ -124,17 +124,19 @@ if (APPLE)
|
|||
# Best recommendation: Libressl, as used by Apple in the curl binary
|
||||
# on macOS.
|
||||
set(CURL_USE_SECTRANSP ON)
|
||||
set(CURL_DEFAULT_SSL_BACKEND "secure-transport")
|
||||
else()
|
||||
if (WIN32)
|
||||
set(CURL_USE_SCHANNEL ON)
|
||||
set(CURL_DEFAULT_SSL_BACKEND "schannel")
|
||||
else ()
|
||||
set(CURL_USE_GNUTLS ON)
|
||||
set(CURL_DEFAULT_SSL_BACKEND "gnutls")
|
||||
endif(WIN32)
|
||||
endif(APPLE)
|
||||
|
||||
add_subdirectory(dependencies/curl-8.8.0)
|
||||
set(CURL_FOUND true)
|
||||
set(CURL_POSTFIX "$<$<CONFIG:Debug>:-d>${CMAKE_STATIC_LIBRARY_SUFFIX}")
|
||||
set(CURL_LIBRARIES libcurl_static)
|
||||
set(CURL_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/dependencies/curl-8.8.0/include)
|
||||
set(CURL_INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/dependencies/curl-8.8.0/include)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue