(build)allow to compile with a custom OpenSSL installation (#1022)

allow to compile with a custom OpenSSL installation
This commit is contained in:
vvhungy 2023-04-07 12:38:12 +07:00 committed by GitHub
parent a4305fe2e2
commit 78d4aacd25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -16,6 +16,8 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/helio/cmake" ${CMAKE_MODULE_P
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
option(DF_USE_SSL "Provide support for SSL connections" ON)
find_package(OpenSSL)
include(third_party)
include(internal)

View file

@ -4,7 +4,7 @@ add_library(dfly_core compact_object.cc dragonfly_core.cc extent_tree.cc
string_set.cc string_map.cc detail/bitpacking.cc)
cxx_link(dfly_core base absl::flat_hash_map absl::str_format redis_lib TRDP::lua lua_modules
Boost::fiber TRDP::jsoncons crypto)
Boost::fiber TRDP::jsoncons OpenSSL::Crypto)
add_executable(dash_bench dash_bench.cc)
cxx_link(dash_bench dfly_core)