From 3fe16add7da298e5e2814cfe67e7baee600a528f Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Tue, 4 Jun 2019 13:32:09 -0500 Subject: [PATCH] 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 --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bb68ffa83cc..7a95e82009c 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) -- 2.39.5