From: Kyselgov E.N Date: Tue, 29 Nov 2016 12:19:54 +0000 (+0200) Subject: cmake: use crypt32.lib when building with OpenSSL on windows X-Git-Tag: curl-7_53_0~136 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b711ca107730179d6b588863292347a93038e3b;p=thirdparty%2Fcurl.git cmake: use crypt32.lib when building with OpenSSL on windows Reviewed-by: Peter Wu Closes #1149 Fixes #1147 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a6a73689d3..31a0d41e35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)