Skip to content

Commit

Permalink
Don't try looking up locations for system brotli. Rely on the distro …
Browse files Browse the repository at this point in the history
…maintainer to set the paths correctly.

Fixes dotnet#109105
  • Loading branch information
jkoritzinsky committed Nov 11, 2024
1 parent 97c0d26 commit dc47509
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/native/libs/System.IO.Compression.Native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ if (NOT CLR_CMAKE_USE_SYSTEM_ZLIB)
include(${CLR_SRC_NATIVE_DIR}/external/zlib-ng.cmake)
endif()

if (CLR_CMAKE_USE_SYSTEM_BROTLI)
find_package(PkgConfig REQUIRED)
pkg_check_modules(BROTLI REQUIRED brotlidec brotlienc brotlicommon)
else()
if(NOT CLR_CMAKE_USE_SYSTEM_BROTLI)
include(${CLR_SRC_NATIVE_DIR}/external/brotli.cmake)
endif()

Expand Down

0 comments on commit dc47509

Please sign in to comment.