Skip to content

Commit

Permalink
COMP: Build PNG arm sources for aarch64 CMAKE_SYSTEM_PROCESSOR
Browse files Browse the repository at this point in the history
This is the value on the NVIDIA Jetson NX.
  • Loading branch information
thewtex committed Mar 29, 2021
1 parent 370336c commit 27216ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/ThirdParty/PNG/src/itkpng/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pngread.c pngset.c pngwio.c
)

# Kitware: added `OR APPLE` to allow Universal Binary builds on Intel Macs.
if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm" OR APPLE)
if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(arm|aarch64)" OR APPLE)
list(APPEND PNG_SRCS
arm/arm_init.c
arm/filter_neon_intrinsics.c
Expand Down

0 comments on commit 27216ce

Please sign in to comment.