  # The Brunsli library definition.
  include(brunsli.cmake)
 diff --git a/brunsli.cmake b/brunsli.cmake
-index c8d4b8b..adcb1da 100644
+index 1e87527..9882f29 100644
 --- a/brunsli.cmake
 +++ b/brunsli.cmake
-@@ -97,10 +97,16 @@ endforeach()
+@@ -98,10 +98,16 @@ if(NOT BRUNSLI_EMSCRIPTEN)
  add_executable(cbrunsli c/tools/cbrunsli.cc)
  target_link_libraries(cbrunsli PRIVATE
    brunslienc-static

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ca53bde..bac0621 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,7 @@ set(CMAKE_CXX_STANDARD 11)
 set(CMAKE_CXX_EXTENSIONS OFF)
 set(CMAKE_CXX_STANDARD_REQUIRED YES)
 

+  brotlidec
+  brotlicommon
 )
 else()  # BRUNSLI_EMSCRIPTEN
 set(WASM_MODULES brunslicodec-wasm brunslidec-wasm brunslienc-wasm)
