For windows cmake builds, build curl with schannel/winssl capability

This commit is contained in:
R2DLiu 2020-07-28 17:40:41 -04:00
parent b5d97561be
commit 7bf9feae0f
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
if(NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
add_definitions(-DHAVE_CONFIG_H)
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
add_definitions(-DUSE_SCHANNEL -DUSE_WINDOWS_SSPI)
else()
add_definitions(-DHAVE_CONFIG_H)
endif()
include_directories(.)