diff --git a/Externals/curl/lib/CMakeLists.txt b/Externals/curl/lib/CMakeLists.txt index 00b6a7c2cc..d1f6d10345 100644 --- a/Externals/curl/lib/CMakeLists.txt +++ b/Externals/curl/lib/CMakeLists.txt @@ -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(.)