]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: link libpmemobj against libpmem
authorKefu Chai <kchai@redhat.com>
Sat, 6 Mar 2021 04:22:39 +0000 (12:22 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 6 Mar 2021 06:37:24 +0000 (14:37 +0800)
commitaeb22b47a60cbc1133a0ab40ea505da52ba1d36e
tree761e47ad526d6b6cbbc45cbf64973d4abfa4e24c
parent48e4cd190f65ed92fa9ca41b147621b46b4ea278
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>
cmake/modules/Buildpmem.cmake