Skip to content

Commit

Permalink
Always append zlib in extra_libs.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossanlop committed Jun 14, 2024
1 parent 453f761 commit 36dfd5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ if (CLR_CMAKE_TARGET_UNIX OR CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)

if (CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)
set(NATIVECOMPRESSION_SOURCES ${NATIVECOMPRESSION_SOURCES})
list(APPEND NATIVE_LIBS_EXTRA zlib)
endif()

# Disable implicit fallthrough warning for Zlib and Brotli
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

macro(append_extra_compression_libs NativeLibsExtra)
list(APPEND ${NativeLibsExtra} zlib)
if (CLR_CMAKE_USE_SYSTEM_BROTLI)
find_library(BROTLIDEC brotlidec REQUIRED)
find_library(BROTLIENC brotlienc REQUIRED)
Expand Down

0 comments on commit 36dfd5f

Please sign in to comment.