blob: 6ede1567f218da60ff5d0ab0e8d7692acac27097 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
## openssl
set(openssl_crypto_plugin_srcs
openssl_crypto_accel.cc
openssl_crypto_plugin.cc)
add_library(ceph_crypto_openssl SHARED ${openssl_crypto_plugin_srcs})
target_link_libraries(ceph_crypto_openssl
PRIVATE OpenSSL::Crypto
$<$<PLATFORM_ID:Windows>:ceph-common>)
target_include_directories(ceph_crypto_openssl PRIVATE ${OPENSSL_INCLUDE_DIR})
add_dependencies(crypto_plugins ceph_crypto_openssl)
set_target_properties(ceph_crypto_openssl PROPERTIES INSTALL_RPATH "")
install(TARGETS ceph_crypto_openssl DESTINATION ${crypto_plugin_dir})
|