From: Kefu Chai Date: Sat, 29 Jun 2019 15:35:46 +0000 (+0800) Subject: CMakeLists.txt: fix typo in error message X-Git-Tag: v15.1.0~2329^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1400867d9207aaa27746882f78e99640cf6c12c0;p=ceph.git CMakeLists.txt: fix typo in error message krbd depends on rbd, so we cannot build krbd without rbd. Signed-off-by: Kefu Chai --- 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)