Skip to content

Commit

Permalink
🐞 fix: Remove zlib_arm_crc32
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Mar 5, 2024
1 parent ed2c6ae commit 271d171
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ if(DEFINED NODE_DIR)
endif()
# zlib
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
if(CMAKE_ANDROID_ARCH STREQUAL "arm64")
list(APPEND importLibraries zlib_arm_crc32)
elseif(CMAKE_ANDROID_ARCH MATCHES "(x86|x86_64)")
if(CMAKE_ANDROID_ARCH MATCHES "(x86|x86_64)")
list(APPEND importLibraries zlib_adler32_simd zlib_inflate_chunk_simd)
endif()
else()
Expand Down

0 comments on commit 271d171

Please sign in to comment.