]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: Move WITH_RBD option earlier
authorMike Christie <mchristi@redhat.com>
Tue, 4 Jun 2019 18:32:09 +0000 (13:32 -0500)
committerMike Christie <mchristi@redhat.com>
Wed, 5 Jun 2019 04:56:53 +0000 (23:56 -0500)
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 <mchristi@redhat.com>
CMakeLists.txt

index bb68ffa83cccb45c52f65327394fabecee897c16..7a95e82009c4dcc7655c724f0b696d60040c0cd5 100644 (file)
@@ -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)