From a4504527b527602fef3fb64e111f2f1f847d9f33 Mon Sep 17 00:00:00 2001 From: Frank Richter Date: Tue, 24 Dec 2024 15:00:39 +0100 Subject: [PATCH] Also accept x64 in translate_system_processor() --- cmake/arch_name.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/arch_name.cmake b/cmake/arch_name.cmake index 958a0da..29d23e9 100644 --- a/cmake/arch_name.cmake +++ b/cmake/arch_name.cmake @@ -9,7 +9,7 @@ include_guard() function(translate_system_processor VAR PROCESSOR) if(PROCESSOR MATCHES "[xX]86") set(arch "x86") - elseif(PROCESSOR MATCHES "[aA][mM][dD]64") + elseif(PROCESSOR MATCHES "[aA][mM][dD]64" OR PROCESSOR MATCHES "[xX]64") set(arch "x64") else() message(FATAL_ERROR "Unknown PROCESSOR ${PROCESSOR}, please fix")