From e9f0cd97e8d5282c07bc8ad6413cbc42d6f210ea Mon Sep 17 00:00:00 2001 From: Chunting Gu Date: Wed, 29 May 2019 11:08:17 +0800 Subject: [PATCH] Link static SSL libraries. --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02372b2..d6afa82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,8 +87,10 @@ if(Boost_FOUND) endif() if(WEBCC_ENABLE_SSL) - set(OPENSSL_USE_STATIC_LIBS ON) - set(OPENSSL_MSVC_STATIC_RT ON) + # Commented on 20190529. + # The static libs have linkage issues with VS2015 on Win10. + # set(OPENSSL_USE_STATIC_LIBS ON) + # set(OPENSSL_MSVC_STATIC_RT ON) find_package(OpenSSL) if(OPENSSL_FOUND) include_directories(${OPENSSL_INCLUDE_DIR})