diff --git a/CMakeLists.txt b/CMakeLists.txt index a6a73689d..31a0d41e3 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)