mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Fix schannel support on Windows
This commit is contained in:
parent
60ce61b2d1
commit
1392cf056c
2 changed files with 37 additions and 7 deletions
|
@ -14,7 +14,7 @@ environment:
|
||||||
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- c:\hunter\ -> appveyor.yml, CMakeLists.txt
|
- c:\hunter\ -> appveyor.yml, CMakeLists.txt, cmake/Hunter/config.cmake
|
||||||
- build\_deps -> appveyor.yml, CMakeLists.txt
|
- build\_deps -> appveyor.yml, CMakeLists.txt
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -9,11 +9,26 @@ if (WIN32)
|
||||||
CURL
|
CURL
|
||||||
VERSION 8.4.0-p0
|
VERSION 8.4.0-p0
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
CMAKE_USE_SCHANNEL=ON
|
|
||||||
BUILD_CURL_TESTS=OFF
|
BUILD_CURL_TESTS=OFF
|
||||||
BUILD_CURL_EXE=OFF
|
BUILD_CURL_EXE=OFF
|
||||||
CMAKE_USE_OPENSSL=OFF
|
CURL_USE_SCHANNEL=ON
|
||||||
CMAKE_USE_LIBSSH2=OFF
|
CURL_USE_OPENSSL=OFF
|
||||||
|
CURL_USE_LIBSSH2=OFF
|
||||||
|
CURL_DISABLE_FTP=ON
|
||||||
|
CURL_DISABLE_FTP=ON
|
||||||
|
CURL_DISABLE_FILE=ON
|
||||||
|
CURL_DISABLE_TELNET=ON
|
||||||
|
CURL_DISABLE_LDAP=ON
|
||||||
|
CURL_DISABLE_DICT=ON
|
||||||
|
CURL_DISABLE_TFTP=ON
|
||||||
|
CURL_DISABLE_GOPHER=ON
|
||||||
|
CURL_DISABLE_POP3=ON
|
||||||
|
CURL_DISABLE_IMAP=ON
|
||||||
|
CURL_DISABLE_SMB=ON
|
||||||
|
CURL_DISABLE_SMTP=ON
|
||||||
|
CURL_DISABLE_RTSP=ON
|
||||||
|
CURL_USE_LIBRTMP=OFF
|
||||||
|
CURL_DISABLE_MQTT=ON
|
||||||
BUILD_TESTING=OFF
|
BUILD_TESTING=OFF
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
|
@ -21,11 +36,26 @@ else()
|
||||||
CURL
|
CURL
|
||||||
VERSION 8.4.0-p0
|
VERSION 8.4.0-p0
|
||||||
CMAKE_ARGS
|
CMAKE_ARGS
|
||||||
CMAKE_USE_SCHANNEL=OFF
|
|
||||||
BUILD_CURL_TESTS=OFF
|
BUILD_CURL_TESTS=OFF
|
||||||
BUILD_CURL_EXE=OFF
|
BUILD_CURL_EXE=OFF
|
||||||
CMAKE_USE_OPENSSL=ON
|
CURL_USE_SCHANNEL=OFF
|
||||||
CMAKE_USE_LIBSSH2=OFF
|
CURL_USE_OPENSSL=ON
|
||||||
|
CURL_USE_LIBSSH2=OFF
|
||||||
|
CURL_DISABLE_FTP=ON
|
||||||
|
CURL_DISABLE_FTP=ON
|
||||||
|
CURL_DISABLE_FILE=ON
|
||||||
|
CURL_DISABLE_TELNET=ON
|
||||||
|
CURL_DISABLE_LDAP=ON
|
||||||
|
CURL_DISABLE_DICT=ON
|
||||||
|
CURL_DISABLE_TFTP=ON
|
||||||
|
CURL_DISABLE_GOPHER=ON
|
||||||
|
CURL_DISABLE_POP3=ON
|
||||||
|
CURL_DISABLE_IMAP=ON
|
||||||
|
CURL_DISABLE_SMB=ON
|
||||||
|
CURL_DISABLE_SMTP=ON
|
||||||
|
CURL_DISABLE_RTSP=ON
|
||||||
|
CURL_USE_LIBRTMP=OFF
|
||||||
|
CURL_DISABLE_MQTT=ON
|
||||||
BUILD_TESTING=OFF
|
BUILD_TESTING=OFF
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue