--- a/thirdparty/dill/dill/CMakeLists.txt
+++ b/thirdparty/dill/dill/CMakeLists.txt
@@ -135,7 +135,7 @@
   set(HOST_ARM6 1)
   set(TEST_PERL_FLAGS -max_arg=4)
   set(ARCH_FILE arm6)
-elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|ARM64")
   set(NATIVE_ARCH arm8)
   set(HOST_ARM8 1)
   set(ARCH_FILE arm8)
