]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: add PGMap.cc to crimson-common 26254/head
authorKefu Chai <kchai@redhat.com>
Thu, 14 Feb 2019 09:27:57 +0000 (17:27 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 19 Feb 2019 06:44:03 +0000 (14:44 +0800)
otherwise we have failures like:

/usr/bin/ld: ../../../lib/libcrimson-common.a(Message.cc.o): in function
`PGMapDigest::~PGMapDigest()':
/var/ssd/ceph/src/mon/PGMap.h:37: undefined reference to `vtable for
PGMapDigest'
/usr/bin/ld: ../../../lib/libcrimson-common.a(Message.cc.o): in function
`PGMapDigest::~PGMapDigest()':

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

index 5d42f60f24bb0e45e212a67d90fcd5e82af026c9..df9e1badb1478fdf7e4bad956c22eff856746b1d 100644 (file)
@@ -80,6 +80,7 @@ add_library(crimson-common STATIC
   ${PROJECT_SOURCE_DIR}/src/mds/MDSMap.cc
   ${PROJECT_SOURCE_DIR}/src/msg/msg_types.cc
   ${PROJECT_SOURCE_DIR}/src/msg/Message.cc
+  ${PROJECT_SOURCE_DIR}/src/mon/PGMap.cc
   ${PROJECT_SOURCE_DIR}/src/mon/MonCap.cc
   ${PROJECT_SOURCE_DIR}/src/mon/MonMap.cc
   ${PROJECT_SOURCE_DIR}/src/osd/osd_types.cc