Skip to content

Commit

Permalink
fix build pegasus include openssl failed
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Nov 9, 2023
1 parent 9b65711 commit 217dda8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake_modules/BaseFunctions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ function(dsn_setup_thirdparty_libs)
message (STATUS "JAVA_JVM_LIBRARY=${JAVA_JVM_LIBRARY}")
link_libraries(${JAVA_JVM_LIBRARY})

find_package(OpenSSL REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})

link_directories(${THIRDPARTY_INSTALL_DIR}/lib)
if (NOT APPLE)
link_directories(${THIRDPARTY_INSTALL_DIR}/lib64)
Expand Down

0 comments on commit 217dda8

Please sign in to comment.