Commit 1b711ca1 authored by Kyselgov E.N's avatar Kyselgov E.N Committed by Daniel Stenberg
Browse files

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

Reviewed-by: Peter Wu
Closes #1149
Fixes #1147
parent e53f0736
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)