mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 07:52:16 +08:00
14 lines
460 B
Diff
14 lines
460 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 490cc19ef8..23fe34f614 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -330,7 +330,7 @@ if(CMAKE_USE_WINSSL)
|
||
|
set(SSL_ENABLED ON)
|
||
|
set(USE_SCHANNEL ON) # Windows native SSL/TLS support
|
||
|
set(USE_WINDOWS_SSPI ON) # CMAKE_USE_WINSSL implies CURL_WINDOWS_SSPI
|
||
|
- list(APPEND CURL_LIBS "crypt32")
|
||
|
+ list(APPEND CURL_LIBS "crypt32" "advapi32")
|
||
|
endif()
|
||
|
if(CURL_WINDOWS_SSPI)
|
||
|
set(USE_WINDOWS_SSPI ON)
|