Merge pull request #8984 from r2dliu/curl

Curl: For windows cmake builds, build curl with schannel/winssl capability
This commit is contained in:
LC 2020-07-28 19:26:43 -04:00 committed by GitHub
commit 3d680ff2f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
if(NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
add_definitions(-DUSE_SCHANNEL -DUSE_WINDOWS_SSPI)
else()
add_definitions(-DHAVE_CONFIG_H)
endif()