summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@kotori.zaitcev.us>2015-12-04 23:05:27 +0100
committerPete Zaitcev <zaitcev@kotori.zaitcev.us>2015-12-05 00:24:08 +0100
commit8160f9eb7d1cdd2d1ae5e64eec626da5f3d820bd (patch)
tree8ea063ca5f6812c84b0fd1e71cb8ec13c7f52d2e /src/CMakeLists.txt
parentMerge pull request #6641 from aclamk/wip-log-alloc-predictor (diff)
downloadceph-8160f9eb7d1cdd2d1ae5e64eec626da5f3d820bd.tar.xz
ceph-8160f9eb7d1cdd2d1ae5e64eec626da5f3d820bd.zip
Add common/PluginRegistry.cc to CMakeLists.txt
Else this happens: [ 15%] Linking CXX executable ceph-authtool libcommon.a(ceph_context.cc.o): In function `CephContext::CephContext(unsigned int, int)': ceph_context.cc:(.text+0x2620): undefined reference to `ceph::PluginRegistry::PluginRegistry(CephContext*)' libcommon.a(ceph_context.cc.o): In function `CephContext::~CephContext()': ceph_context.cc:(.text+0x3db0): undefined reference to `ceph::PluginRegistry::~PluginRegistry()' collect2: error: ld returned 1 exit status src/CMakeFiles/ceph-authtool.dir/build.make:120: recipe for target 'src/ceph-authtool' failed make[2]: *** [src/ceph-authtool] Error 1 CMakeFiles/Makefile2:331: recipe for target 'src/CMakeFiles/ceph-authtool.dir/all' failed The ceph_context.cc is the only user of PluginRegistry at present, so adding it without conditionals should be correct. Signed-Off-By: Pete Zaitcev <zaitcev@redhat.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0d90ee231c2..e4e204f56bc 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -281,6 +281,7 @@ set(libcommon_files
common/Thread.cc
common/Formatter.cc
common/HeartbeatMap.cc
+ common/PluginRegistry.cc
common/ceph_fs.cc
common/ceph_hash.cc
common/ceph_strings.cc