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
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})