Skip to content

Commit 8de82e8

Browse files
authored
Add support for Apple Silicon in SwiftSupport.cmake (jpsim#293)
1 parent e925a7e commit 8de82e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/modules/SwiftSupport.cmake

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ function(swift_get_host_arch result_var_name)
1313
set("${result_var_name}" "x86_64" PARENT_SCOPE)
1414
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64")
1515
set("${result_var_name}" "aarch64" PARENT_SCOPE)
16+
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64")
17+
set("${result_var_name}" "aarch64" PARENT_SCOPE)
1618
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ppc64")
1719
set("${result_var_name}" "powerpc64" PARENT_SCOPE)
1820
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ppc64le")

0 commit comments

Comments
 (0)