summaryrefslogtreecommitdiffstats
path: root/src/compressor
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2019-09-13 11:30:22 +0200
committerKefu Chai <kchai@redhat.com>2019-09-13 13:56:30 +0200
commitca7d31e466ed28617d524891cf8c3b7b93eb7f1c (patch)
tree3332fdcd2615b6fc17e5a8a5d2fa4d5faf932372 /src/compressor
parentMerge pull request #30112 from liewegas/wip-autoscaler-on (diff)
downloadceph-ca7d31e466ed28617d524891cf8c3b7b93eb7f1c.tar.xz
ceph-ca7d31e466ed28617d524891cf8c3b7b93eb7f1c.zip
cmake: s/bortli_libs/brotli_libs/
it's merely a typo. Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/compressor')
-rw-r--r--src/compressor/brotli/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compressor/brotli/CMakeLists.txt b/src/compressor/brotli/CMakeLists.txt
index 8b9a0f70c7c..58df77af741 100644
--- a/src/compressor/brotli/CMakeLists.txt
+++ b/src/compressor/brotli/CMakeLists.txt
@@ -16,9 +16,9 @@ ExternalProject_Add(brotli_ext
BUILD_IN_SOURCE 1
INSTALL_COMMAND "")
-set(bortli_libs enc dec common)
+set(brotli_libs enc dec common)
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/src/brotli/c/include")
-foreach(lib ${bortli_libs})
+foreach(lib ${brotli_libs})
add_library(brotli::${lib} STATIC IMPORTED)
add_dependencies(brotli::${lib} brotli_ext)
set_target_properties(brotli::${lib} PROPERTIES
@@ -28,6 +28,6 @@ foreach(lib ${bortli_libs})
endforeach()
add_library(ceph_brotli SHARED ${brotli_sources})
-list(REVERSE bortli_libs)
+list(REVERSE brotli_libs)
target_link_libraries(ceph_brotli PRIVATE ${BROTLI_LIBRARIES})
install(TARGETS ceph_brotli DESTINATION ${compressor_plugin_dir})