commit | 1b711ca107730179d6b588863292347a93038e3b | [log] [tgz] |
---|---|---|
author | Kyselgov E.N <kyselgov@gmail.com> | Tue Nov 29 14:19:54 2016 +0200 |
committer | Daniel Stenberg <daniel@haxx.se> | Tue Dec 27 22:20:19 2016 +0100 |
tree | 784b1d7027e44209f139f129fbd63d1f70a486fe | |
parent | e53f0736c403aa973e6937ba19d83f07922ac9cb [diff] |
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 a6a7368..31a0d41 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -590,6 +590,8 @@ set(CURL_LIBS ${CURL_LIBS} "crypt32") endif() endif() + elseif(USE_OPENSSL) + set(CURL_LIBS ${CURL_LIBS} "crypt32") endif() endif(NOT UNIX)