From: Kefu Chai Date: Mon, 26 Oct 2020 05:49:17 +0000 (+0800) Subject: rpm: pass -DWITH_ZBD=ON to cmake if zbd is enabled X-Git-Tag: v16.1.0~725^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=98c06b534f1d58dfd680b0ddf488c0e8a0a43185;p=ceph.git rpm: pass -DWITH_ZBD=ON to cmake if zbd is enabled this is a leftover of fd1b02a341e3afba32776e35ec7c4bbe883f9b06 Signed-off-by: Kefu Chai --- diff --git a/ceph.spec.in b/ceph.spec.in index 75e8ac76896b..887b7c7c67b4 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1191,6 +1191,9 @@ ${CMAKE} .. \ %else -DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \ %endif +%if 0%{with zbd} + -DWITH_ZBD=ON \ +%endif %if 0%{with cmake_verbose_logging} -DCMAKE_VERBOSE_MAKEFILE=ON \ %endif