summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Weinstein <yuri.weinstein@gmail.com>2018-01-06 18:28:58 +0100
committerGitHub <noreply@github.com>2018-01-06 18:28:58 +0100
commit392314d98019463e30ec13aff3c95a5d41309818 (patch)
treeec749052389e394c8be9e10f794c6a5da40c0e5d /CMakeLists.txt
parentMerge pull request #19564 from kungf/list_bucket_osd (diff)
parentCompressor: Add Brotli Compressor (diff)
downloadceph-392314d98019463e30ec13aff3c95a5d41309818.tar.xz
ceph-392314d98019463e30ec13aff3c95a5d41309818.zip
Merge pull request #19549 from bi-shun/brotli-compressor
compressor: Add Brotli Compressor Reviewed-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8316276cf08..da92ca39bc5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -293,6 +293,11 @@ endif(WITH_LEVELDB)
find_package(snappy REQUIRED)
+option(WITH_BROTLI "Brotli compression support" OFF)
+if(WITH_BROTLI)
+ set(HAVE_BROTLI TRUE)
+endif()
+
option(WITH_LZ4 "LZ4 compression support" OFF)
if(WITH_LZ4)
find_package(LZ4 1.7 REQUIRED)