]> git.proxmox.com Git - ceph.git/blob - ceph/src/crypto/qat/CMakeLists.txt
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / crypto / qat / CMakeLists.txt
1 ##
2 # QAT wrapper for Ceph
3 ##
4
5 # Build QAT driver library first
6 include(BuildQatDrv)
7
8 set(qat_crypto_plugin_srcs
9 qat_crypto_accel.cc
10 qat_crypto_plugin.cc
11 qcccrypto.cc)
12
13 add_library(ceph_crypto_qat SHARED ${qat_crypto_plugin_srcs})
14 add_dependencies(ceph_crypto_qat QatDrv)
15 target_include_directories(ceph_crypto_qat PRIVATE
16 ${EXTRA_LIBS}
17 ${QatDrv_INCLUDE_DIRS})
18
19 add_dependencies(crypto_plugins ceph_crypto_qat)
20
21 target_link_libraries(ceph_crypto_qat
22 ${QatDrv_LIBRARIES})
23 add_dependencies(crypto_plugins ceph_crypto_qat)
24 set_target_properties(ceph_crypto_qat PROPERTIES VERSION 1.0.0 SOVERSION 1)
25 install(TARGETS ceph_crypto_qat DESTINATION ${crypto_plugin_dir})