From 7bd201099500933b2c296522d381cfc2925471f8 Mon Sep 17 00:00:00 2001 From: HALX99 Date: Sun, 9 May 2021 00:54:05 +0800 Subject: [PATCH] Explicit disable libssh2 dep for libcurl [ci build] --- external/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 3736dbf77b..1bff57b136 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -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)