]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: define mgr_cap_obj library when WITH_MGR=OFF
authorCasey Bodley <cbodley@redhat.com>
Fri, 1 Nov 2019 20:04:37 +0000 (16:04 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 1 Nov 2019 20:05:08 +0000 (16:05 -0400)
commit41c1cee88b38bc43002b232ede42dc157364f61a
treedbcef40981d76d0971bf38782d2275824b80906d
parent438c1f37c112b0573fdb77e960883cf24aef85fa
cmake: define mgr_cap_obj library when WITH_MGR=OFF

resolves the cmake error when WITH_MGR=OFF:

  Error evaluating generator expression:

    $<TARGET_OBJECTS:mgr_cap_obj>

  Objects of target "mgr_cap_obj" referenced but no such target exists.
Call Stack (most recent call first):
  src/mon/CMakeLists.txt:34 (add_library)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/CMakeLists.txt
src/mgr/CMakeLists.txt