1 include(MergeStaticLibraries)
3 add_library(cephd_base STATIC
9 set_target_properties(cephd_base PROPERTIES COMPILE_DEFINITIONS BUILDING_FOR_EMBEDDED)
30 if(NOT WITH_SYSTEM_ROCKSDB)
31 list(APPEND merge_libs ${ROCKSDB_LIBRARIES})
32 endif(NOT WITH_SYSTEM_ROCKSDB)
35 list(APPEND merge_libs cephd_rgw)
39 list(APPEND merge_libs cephd_rbd)
43 list(APPEND merge_libs common_crc_aarch64)
46 merge_static_libraries(cephd ${merge_libs})
48 # TODO: install these libraries and add them to rpm and deb packages
49 #install(TARGETS cephd DESTINATION ${CMAKE_INSTALL_LIBDIR})
50 #install(FILES ../include/cephd/libcephd.h
51 # DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/cephd)