Skip to content

Commit

Permalink
Also accept x64 in translate_system_processor()
Browse files Browse the repository at this point in the history
  • Loading branch information
res2k committed Dec 24, 2024
1 parent d11217c commit a450452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/arch_name.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a450452

Please sign in to comment.