]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
CMakeLists.txt: fix typo in error message
authorKefu Chai <kchai@redhat.com>
Sat, 29 Jun 2019 15:35:46 +0000 (23:35 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 29 Jun 2019 15:35:48 +0000 (23:35 +0800)
krbd depends on rbd, so we cannot build krbd without rbd.

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

index ffdabda7c80e4513a6d20d22fa57cb0e8f0ecdb9..5fef072a64db102c22f54397a2c0ce0116e3db22 100644 (file)
@@ -315,8 +315,8 @@ option(WITH_KVS "Key value store is here" ON)
 # KERNEL remote block storage
 option(WITH_KRBD "Kernel Remote block storage is here" ON)
 
-if(WITH_KRBD AND WITHOUT_RBD)
-  message(FATAL_ERROR "Cannot have WITH_KRBD with WITH_RBD.")
+if(WITH_KRBD AND NOT WITH_RBD)
+  message(FATAL_ERROR "Cannot have WITH_KRBD without WITH_RBD.")
 endif()
 
 option(WITH_LEVELDB "LevelDB is here" ON)