krbd depends on rbd, so we cannot build krbd without rbd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
# 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)