From 1400867d9207aaa27746882f78e99640cf6c12c0 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 29 Jun 2019 23:35:46 +0800 Subject: [PATCH] CMakeLists.txt: fix typo in error message krbd depends on rbd, so we cannot build krbd without rbd. Signed-off-by: Kefu Chai --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ffdabda7c80..5fef072a64d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- 2.47.3