mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
cmake: use crypt32.lib when building with OpenSSL on windows
Reviewed-by: Peter Wu Closes #1149 Fixes #1147
This commit is contained in:
parent
e53f0736c4
commit
1b711ca107
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user