]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: compile libzfs backend conditionally
authorKefu Chai <kchai@redhat.com>
Mon, 26 Jun 2017 03:58:28 +0000 (11:58 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 27 Jun 2017 15:28:03 +0000 (23:28 +0800)
commitf8d5f7466326fa20fa1d150283c79ff7172a2008
tree941542229c081c31897e6366ba0db7cdc09982f2
parente34e22b6efda763da705637fdbb067d45149107a
cmake: compile libzfs backend conditionally

* do not REQUIRE libzfs if it is enabled, this follows the way how we
  handle `WITH_XFS` option.
* also refactor the cmake script related to libxfs backend support a
  little bit.

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
cmake/modules/Findxfs.cmake
cmake/modules/Findzfs.cmake [new file with mode: 0644]
src/os/CMakeLists.txt