1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

cmake: use crypt32.lib when building with OpenSSL on windows

Reviewed-by: Peter Wu
Closes #1149
Fixes #1147
This commit is contained in:
Kyselgov E.N 2016-11-29 14:19:54 +02:00 committed by Daniel Stenberg
parent e53f0736c4
commit 1b711ca107

View File

@ -590,6 +590,8 @@ if(NOT UNIX)
set(CURL_LIBS ${CURL_LIBS} "crypt32")
endif()
endif()
elseif(USE_OPENSSL)
set(CURL_LIBS ${CURL_LIBS} "crypt32")
endif()
endif(NOT UNIX)