${Boost_IOSTREAMS_LIBRARY}
${BLKID_LIBRARIES} ${Backtrace_LIBRARIES}
${CRYPTO_LIBS} ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})
+if(HAVE_RDMA)
+ target_link_libraries(ceph-common ${RDMA_LIBRARY})
+endif(HAVE_RDMA)
if(NOT WITH_SYSTEM_BOOST)
- target_link_libraries(ceph-common ${ZLIB_LIBRARIES})
- endif()
- install(TARGETS ceph-common DESTINATION ${CMAKE_INSTALL_PKGLIBDIR})
- if(WITH_EMBEDDED)
- add_library(cephd_common STATIC
- $<TARGET_OBJECTS:common_buffer_obj>
- $<TARGET_OBJECTS:common_texttable_obj>
- $<TARGET_OBJECTS:compressor_objs>
- $<TARGET_OBJECTS:common-objs>
- $<TARGET_OBJECTS:common_mountcephfs_objs>)
+ list(APPEND ceph_common_deps ${ZLIB_LIBRARIES})
endif()
set_source_files_properties(${CMAKE_SOURCE_DIR}/src/ceph_ver.c