]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: find keyutils if rbd or libcephfs is enabled
authorKefu Chai <kchai@redhat.com>
Wed, 7 Dec 2016 03:41:18 +0000 (11:41 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 7 Dec 2016 08:09:08 +0000 (16:09 +0800)
commitb805505d254fafcd8a5654da41f8ac0e74f5576e
tree7e98c509fb30d57dc7c205c1e6618e10ba060873
parent66953e322411e96e4273050586c94598a16fdf46
cmake: find keyutils if rbd or libcephfs is enabled

* find_package(keyutils REQUIRED) if (WITH_LIBCEPHFS OR WITH_RBD)
  prior to this change, we detect keyutils if the building platform is not
  FreeBSD, we should instead check the WITH_* options, and let the
  maintainer to decided what is the best for his/her platform, and error
  out if the building host cannot fulfill the requirement to build the
  asserts.
* build krbd.cc if (WITH_RBD)

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