summaryrefslogtreecommitdiffstats
path: root/src/crypto/openssl
diff options
context:
space:
mode:
authorLucian Petrut <lpetrut@cloudbasesolutions.com>2019-10-04 12:37:58 +0200
committerLucian Petrut <lpetrut@cloudbasesolutions.com>2020-02-19 09:24:21 +0100
commitddf7de4f35ea0fa75b60d64792c8eaae3eae1eb0 (patch)
tree1608f0cf3c4ba88fa29df2bb35d74af61bc1cb20 /src/crypto/openssl
parent[win32] Add build scripts (diff)
downloadceph-ddf7de4f35ea0fa75b60d64792c8eaae3eae1eb0.tar.xz
ceph-ddf7de4f35ea0fa75b60d64792c8eaae3eae1eb0.zip
cmake: Add missing ssl include
A few modules are using ssl headers without having the openssl include dir set by the cmake files. This change updates the according cmake files. Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Diffstat (limited to 'src/crypto/openssl')
-rw-r--r--src/crypto/openssl/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/openssl/CMakeLists.txt b/src/crypto/openssl/CMakeLists.txt
index 2525ed9359b..7a63a32e8b3 100644
--- a/src/crypto/openssl/CMakeLists.txt
+++ b/src/crypto/openssl/CMakeLists.txt
@@ -6,6 +6,7 @@ set(openssl_crypto_plugin_srcs
add_library(ceph_crypto_openssl SHARED ${openssl_crypto_plugin_srcs})
target_link_libraries(ceph_crypto_openssl PRIVATE crypto)
+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})