diff options
Diffstat (limited to 'src/crypto/openssl/CMakeLists.txt')
-rw-r--r-- | src/crypto/openssl/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/crypto/openssl/CMakeLists.txt b/src/crypto/openssl/CMakeLists.txt new file mode 100644 index 000000000..6ede1567f --- /dev/null +++ b/src/crypto/openssl/CMakeLists.txt @@ -0,0 +1,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}) |