From 27216ceb98cb7c05fe0edccc8ed53c88fbdaaac8 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Mon, 29 Mar 2021 14:54:22 -0400 Subject: [PATCH] COMP: Build PNG arm sources for aarch64 CMAKE_SYSTEM_PROCESSOR This is the value on the NVIDIA Jetson NX. --- Modules/ThirdParty/PNG/src/itkpng/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/ThirdParty/PNG/src/itkpng/CMakeLists.txt b/Modules/ThirdParty/PNG/src/itkpng/CMakeLists.txt index 1dd458ff0af..4c915094ed3 100644 --- a/Modules/ThirdParty/PNG/src/itkpng/CMakeLists.txt +++ b/Modules/ThirdParty/PNG/src/itkpng/CMakeLists.txt @@ -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