File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ function(get_host_triplet triplet)
22 set (host_arch ${CMAKE_SYSTEM_PROCESSOR} )
33 if (host_arch STREQUAL "x86" )
44 set (host_arch "i686" )
5- endif ()
6- if (host_arch STREQUAL "amd64" )
5+ elseif (host_arch STREQUAL "amd64" )
76 set (host_arch "x86_64" )
7+ elseif (host_arch STREQUAL "arm64" )
8+ set (host_arch "aarch64" )
89 endif ()
910
1011 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
@@ -31,9 +32,10 @@ function(get_build_triplet triplet)
3132 set (host_arch ${CMAKE_HOST_SYSTEM_PROCESSOR} )
3233 if (host_arch STREQUAL "x86" )
3334 set (host_arch "i686" )
34- endif ()
35- if (host_arch STREQUAL "amd64" )
35+ elseif (host_arch STREQUAL "amd64" )
3636 set (host_arch "x86_64" )
37+ elseif (host_arch STREQUAL "arm64" )
38+ set (host_arch "aarch64" )
3739 endif ()
3840
3941 if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux" )
You can’t perform that action at this time.
0 commit comments