Explicit disable libssh2 dep for libcurl [ci build]

This commit is contained in:
HALX99 2021-05-09 00:54:05 +08:00 committed by GitHub
parent 2c7830246a
commit 7bd2010995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ endif()
if(NOT LINUX)
if(BUILD_EXT_CURL)
set(CMAKE_USE_LIBSSH2 OFF CACHE BOOL "" FORCE)
set(BUILD_CURL_EXE FALSE CACHE BOOL "Set to OFF to build curl executable." FORCE)
set(CURL_DISABLE_TESTS TRUE CACHE BOOL "Disable curl tests building." FORCE)
set(CMAKE_USE_OPENSSL TRUE CACHE BOOL "Use openssl for curl" FORCE)