Skip to content

Commit 7777705

Browse files
committed
fix arch bug in bin2obj.cmake
1 parent d60e4e8 commit 7777705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin2obj.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function(bin2obj input_path output_path symbol_name)
4444
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|AMD64)$")
4545
set(arch "x86_64")
4646
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|ARM64)$")
47-
set(arch "aarch64")
47+
set(arch "arm64")
4848
else()
4949
message(FATAL_ERROR "Unsupported architecture: ${CMAKE_SYSTEM_PROCESSOR}")
5050
endif()

0 commit comments

Comments
 (0)