]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: do not link blk against pmem::pmemobj
authorKefu Chai <kchai@redhat.com>
Fri, 5 Mar 2021 13:15:59 +0000 (21:15 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 6 Mar 2021 02:48:35 +0000 (10:48 +0800)
as blk does not use pmem::pmemobj, librbd does.

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

index b397d47338b0413e16240fc86d7c6e10440a0669..849f3eef9de2e513effe7eebb2d32e404e0f0c5a 100644 (file)
@@ -40,9 +40,8 @@ if(WITH_ZBD)
   target_link_libraries(blk PRIVATE ${ZBD_LIBRARIES})
 endif()
 
-if(WITH_BLUESTORE_PMEM OR WITH_RBD_RWL)
+if(WITH_BLUESTORE_PMEM)
   target_link_libraries(blk
-    PUBLIC pmem::pmemobj
     PRIVATE pmem::pmem)
 endif()