diff -bur liboqs-0.12.0-orig/CMakeLists.txt liboqs-0.12.0/CMakeLists.txt
--- liboqs-0.12.0-orig/CMakeLists.txt	2025-04-03 03:33:05.307838400 -0600
+++ liboqs-0.12.0/CMakeLists.txt	2025-04-03 03:33:11.810763500 -0600
@@ -76,7 +76,7 @@
     if(${OQS_DIST_BUILD})
         set(OQS_DIST_X86_BUILD ON)
     endif()
-elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|arm64|arm64v8")
+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|ARM64|arm64v8")
     set(ARCH "arm64v8")
     set(ARCH_ARM64v8 ON)
     if(${OQS_DIST_BUILD})
