]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: link libpmemobj against libpmem
authorKefu Chai <kchai@redhat.com>
Sat, 6 Mar 2021 04:22:39 +0000 (12:22 +0800)
committerNathan Cutler <ncutler@suse.com>
Mon, 8 Mar 2021 08:57:25 +0000 (09:57 +0100)
commit7a5149f9f845f54a7eb75b7c61ab4c69695b18cc
tree4e85feea0bc0e045dc2d1c54753dc8582d909d13
parent20ae68de5110a5332604892c96edb31ecd6e6b61
cmake: link libpmemobj against libpmem

libpmemobj should link against libpmem, but, in CMake, imported library
does not allow PRIVATE linkage. so pmem::pmem is added to the list of
INTERFACE_LINK_LIBRARIES.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit aeb22b47a60cbc1133a0ab40ea505da52ba1d36e)
cmake/modules/Buildpmem.cmake