diff options
author | Lucian Petrut <lpetrut@cloudbasesolutions.com> | 2019-10-04 12:37:58 +0200 |
---|---|---|
committer | Lucian Petrut <lpetrut@cloudbasesolutions.com> | 2020-02-19 09:24:21 +0100 |
commit | ddf7de4f35ea0fa75b60d64792c8eaae3eae1eb0 (patch) | |
tree | 1608f0cf3c4ba88fa29df2bb35d74af61bc1cb20 /src/crypto/openssl | |
parent | [win32] Add build scripts (diff) | |
download | ceph-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.txt | 1 |
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}) |