]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: s/bortli_libs/brotli_libs/ 30374/head
authorKefu Chai <kchai@redhat.com>
Fri, 13 Sep 2019 09:30:22 +0000 (17:30 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Sep 2019 11:56:30 +0000 (19:56 +0800)
it's merely a typo.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/compressor/brotli/CMakeLists.txt

index 8b9a0f70c7ca6f79f22d4cc30ff31c361ef66ffd..58df77af741da240f528dc331b84e189a3e92919 100644 (file)
@@ -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})