Signed-off-by: Pan Liu <pan.liu@istuary.com>
# ceph_objectstore_bench
add_executable(ceph_objectstore_bench objectstore_bench.cc)
-target_link_libraries(ceph_objectstore_bench global ${BLKID_LIBRARIES} os)
+target_link_libraries(ceph_objectstore_bench os global ${BLKID_LIBRARIES})
if(${WITH_RADOSGW})
# test_cors
add_library(cephdtest STATIC ${cephdtest_srcs})
set_target_properties(cephdtest PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
+#Enable spdk
+if(HAVE_SPDK)
+link_directories("${CMAKE_SOURCE_DIR}/src/spdk/build/lib/")
+endif(HAVE_SPDK)
+
# ceph_test_cephd_api_misc
add_executable(ceph_test_cephd_api_misc
misc.cc
$<TARGET_OBJECTS:unit-main>
)
add_ceph_unittest(unittest_osdscrub ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest_osdscrub)
-target_link_libraries(unittest_osdscrub osd global ${CMAKE_DL_LIBS} os mon ${BLKID_LIBRARIES})
+target_link_libraries(unittest_osdscrub osd os global ${CMAKE_DL_LIBS} mon ${BLKID_LIBRARIES})
# unittest_pglog
add_executable(unittest_pglog