From ceea5d02e33f52f056f4d1b9984e9a6207d3058d Mon Sep 17 00:00:00 2001 From: LiYuRio <63526175+LiYuRio@users.noreply.github.com> Date: Tue, 11 Oct 2022 14:38:01 +0800 Subject: [PATCH] fix ssl symbol not found (#46832) --- cmake/generic.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/generic.cmake b/cmake/generic.cmake index 5c1f6908b22..6b2aabc0279 100644 --- a/cmake/generic.cmake +++ b/cmake/generic.cmake @@ -96,7 +96,7 @@ if(NOT APPLE AND NOT WIN32) link_libraries(${CMAKE_THREAD_LIBS_INIT}) if(WITH_PSLIB OR WITH_DISTRIBUTE) set(CMAKE_CXX_LINK_EXECUTABLE - "${CMAKE_CXX_LINK_EXECUTABLE} -pthread -ldl -lrt -lz -lssl") + "${CMAKE_CXX_LINK_EXECUTABLE} -pthread -ldl -lrt -lz -lssl -lcrypto") else() set(CMAKE_CXX_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -pthread -ldl -lrt") -- GitLab