]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: link librados tests against librados.so
authorKefu Chai <kchai@redhat.com>
Thu, 26 Oct 2017 11:42:00 +0000 (19:42 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 Oct 2017 05:58:15 +0000 (13:58 +0800)
commit082876f4c7e707da076745a2152180c3f2bae11a
tree5dfdfb3b6f748a555b70bf6eaf93b37f10d61f5b
parent3f171e401039d8ad5c61966277b76d8e05904e32
cmake: link librados tests against librados.so

* in hope to shrink the test, and the debug-info rpm package
* also add librados to radostest's target_link_libraries(),  otherwise we might
   run into linker order issue, like

Undefined reference in
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/librados/test.cc:61
to `rados_application_enable'

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