upgrade deps (#2349)

* upgrade deps
This commit is contained in:
SoftFever 2023-10-09 00:19:26 +08:00 committed by GitHub
parent 9dd3fb60b7
commit 6962cd6577
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 63 additions and 40 deletions

View file

@ -25,7 +25,8 @@ set(_curl_platform_flags
)
if (WIN32)
set(_curl_platform_flags ${_curl_platform_flags} -DCMAKE_USE_SCHANNEL=ON)
#set(_curl_platform_flags ${_curl_platform_flags} -DCMAKE_USE_SCHANNEL=ON)
set(_curl_platform_flags ${_curl_platform_flags} -DCMAKE_USE_OPENSSL=ON -DCURL_CA_PATH:STRING=none)
elseif (APPLE)
set(_curl_platform_flags
@ -71,9 +72,9 @@ orcaslicer_add_cmake_project(CURL
${_curl_platform_flags}
)
if (APPLE OR (CMAKE_SYSTEM_NAME STREQUAL "Linux"))
# if (APPLE OR (CMAKE_SYSTEM_NAME STREQUAL "Linux"))
add_dependencies(dep_CURL dep_OpenSSL)
endif ()
# endif ()
if (MSVC)
add_debug_dep(dep_CURL)