aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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)