mirror of
https://github.com/ceph/ceph
synced 2025-01-18 09:02:08 +00:00
cmake: do not link blk against pmem::pmemobj
as blk does not use pmem::pmemobj, librbd does. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
c4408499e4
commit
3e991ad1db
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user