From 242b62bbc24022b446623f50e8f187e272a43689 Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Thu, 9 Nov 2023 15:01:34 +0800 Subject: [PATCH] add link fir --- cmake_modules/BaseFunctions.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake_modules/BaseFunctions.cmake b/cmake_modules/BaseFunctions.cmake index 3753866706..22220a6e4f 100644 --- a/cmake_modules/BaseFunctions.cmake +++ b/cmake_modules/BaseFunctions.cmake @@ -350,6 +350,7 @@ function(dsn_setup_thirdparty_libs) find_package(OpenSSL REQUIRED) include_directories(${OPENSSL_INCLUDE_DIR}) + link_libraries(${OPENSSL_CRYPTO_LIBRARY}) link_directories(${THIRDPARTY_INSTALL_DIR}/lib) if (NOT APPLE)