Commit ad888c80 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #7643 from alalek:libpng_aarch64

parents 099be88f a50bc7d8
...@@ -31,6 +31,8 @@ file(GLOB lib_hdrs *.h) ...@@ -31,6 +31,8 @@ file(GLOB lib_hdrs *.h)
if(ENABLE_NEON) if(ENABLE_NEON)
list(APPEND lib_srcs arm/arm_init.c arm/filter_neon.S arm/filter_neon_intrinsics.c) list(APPEND lib_srcs arm/arm_init.c arm/filter_neon.S arm/filter_neon_intrinsics.c)
add_definitions(-DPNG_ARM_NEON_OPT=2) add_definitions(-DPNG_ARM_NEON_OPT=2)
elseif(AARCH64)
add_definitions(-DPNG_ARM_NEON_OPT=0) # NEON assembler is not supported
endif() endif()
if(ENABLE_SSE if(ENABLE_SSE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment