Skip to content

Commit

Permalink
fix link ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Nov 9, 2023
1 parent fd90245 commit 17d5a13
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions cmake_modules/BaseFunctions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ function(dsn_setup_thirdparty_libs)
find_package(OpenSSL REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})
link_libraries(${OPENSSL_CRYPTO_LIBRARY})
link_libraries(${OPENSSL_SSL_LIBRARY})

link_directories(${THIRDPARTY_INSTALL_DIR}/lib)
if (NOT APPLE)
Expand Down
1 change: 0 additions & 1 deletion src/meta/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ set(MY_PROJ_LIBS
PocoNetSSL
PocoJSON
gtest
ssl
hdfs)

set(MY_BOOST_LIBS Boost::system Boost::filesystem Boost::regex)
Expand Down
2 changes: 1 addition & 1 deletion src/zookeeper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ set(MY_PROJ_SRC "")
# "GLOB" for non-recursive search
set(MY_SRC_SEARCH_MODE "GLOB")

set(MY_PROJ_LIBS zookeeper hashtable ssl)
set(MY_PROJ_LIBS zookeeper hashtable)

# Extra files that will be installed
set(MY_BINPLACES "")
Expand Down
1 change: 0 additions & 1 deletion src/zookeeper/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ set(MY_PROJ_LIBS
zookeeper
hashtable
gtest
ssl
rocksdb)

set(MY_BOOST_LIBS Boost::system Boost::filesystem Boost::regex)
Expand Down

0 comments on commit 17d5a13

Please sign in to comment.