From 94a104dcf70e3bc3fe540c338fc4068d262c0fbd Mon Sep 17 00:00:00 2001 From: jackarain Date: Mon, 11 Dec 2023 20:16:37 +0800 Subject: [PATCH] Missing link system openssl --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c2d523e749..3bd84e2544 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -245,6 +245,7 @@ endif(NOT MSVC) if (ENABLE_USE_OPENSSL) if (ENABLE_SYSTEM_OPENSSL) find_package(OpenSSL) + link_libraries(${OPENSSL_LIBRARIES}) else() set(OpenSSL_FOUND TRUE) add_subdirectory(third_party/openssl)