From: Mike Christie Date: Tue, 4 Jun 2019 18:32:09 +0000 (-0500) Subject: cmake: Move WITH_RBD option earlier X-Git-Tag: v15.1.0~2539^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3fe16add7da298e5e2814cfe67e7baee600a528f;p=ceph.git cmake: Move WITH_RBD option earlier The next patch will add a WITH_RBD check to the LINUX check block so we only check for the netlink libs when those 2 conditions are met, so this moves the WIT_RBD option setup to before the LINUX check. Signed-off-by: Mike Christie --- diff --git a/CMakeLists.txt b/CMakeLists.txt index bb68ffa83ccc..7a95e82009c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -210,6 +210,9 @@ endif() find_package(Backtrace) +# remote block storage +option(WITH_RBD "Remote block storage is here" ON) + if(LINUX) find_package(udev REQUIRED) set(HAVE_UDEV ${UDEV_FOUND}) @@ -311,9 +314,6 @@ option(WITH_LIBCEPHFS "libcephfs client library" ON) # key-value store option(WITH_KVS "Key value store is here" ON) -# remote block storage -option(WITH_RBD "Remote block storage is here" ON) - # KERNEL remote block storage option(WITH_KRBD "Kernel Remote block storage is here" ON)