]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: link libosd against libos
authorKefu Chai <kchai@redhat.com>
Mon, 3 Jun 2019 16:13:42 +0000 (00:13 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 3 Jun 2019 17:26:11 +0000 (01:26 +0800)
apparently, libosd uses libos, but it does not use leveldb directly,
so s/leveldb/os/.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/CMakeLists.txt

index ce327dfa8800a6534e4db5e9a194ea2b0b5a0c28..ab28c63e0dccc06351c22a8bd8ecff937542f386 100644 (file)
@@ -50,9 +50,7 @@ add_library(osd STATIC ${osd_srcs}
   $<TARGET_OBJECTS:global_common_objs>)
 target_link_libraries(osd
   PUBLIC dmclock::dmclock
-  PRIVATE
-  ${LEVELDB_LIBRARIES}
-  heap_profiler cpu_profiler ${CMAKE_DL_LIBS})
+  PRIVATE os heap_profiler cpu_profiler ${CMAKE_DL_LIBS})
 if(WITH_LTTNG)
   add_dependencies(osd osd-tp pg-tp)
 endif()