mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 04:20:23 +00:00
Use native SSL/TLS support on Windows & macOS for libcurl
This commit is contained in:
parent
91e8e5cd46
commit
772acd0fac
13
third_party/CMakeLists.txt
vendored
13
third_party/CMakeLists.txt
vendored
@ -50,8 +50,19 @@ endif()
|
||||
|
||||
if(REQUIRE_CURL AND NOT USE_SHARED_CURL)
|
||||
set(BUILD_RELEASE_DEBUG_DIRS ON BOOL)
|
||||
set(CMAKE_USE_OPENSSL OFF CACHE BOOL "Use OpenSSL code. Experimental")
|
||||
set(BUILD_CURL_EXE OFF CACHE BOOL "Set to ON to build curl executable.")
|
||||
|
||||
# SSL/TLS support (use native libraries only)
|
||||
set(CMAKE_USE_OPENSSL OFF CACHE BOOL "Use OpenSSL code. Experimental")
|
||||
set(CMAKE_USE_LIBSSH2 OFF CACHE BOOL "Use libSSH2")
|
||||
if(WIN32)
|
||||
set(CMAKE_USE_SCHANNEL ON CACHE BOOL "enable Windows native SSL/TLS")
|
||||
elseif(APPLE)
|
||||
set(CMAKE_USE_SECTRANSP ON CACHE BOOL "enable Apple OS native SSL/TLS")
|
||||
else()
|
||||
# TODO Linux?
|
||||
endif()
|
||||
|
||||
add_subdirectory(curl)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user