diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 58b145170..7f7c4d6da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -570,7 +570,7 @@ if(NOT UNIX) if(HAVE_SCHANNEL_H) set(USE_SCHANNEL ON) set(SSL_ENABLED ON) - check_library_exists_concat("crypt32" CertFreeCertificateContext HAVE_LIBCRYPT32) + set(CURL_LIBS ${CURL_LIBS} "crypt32") endif() endif() endif() |