mirror of
https://github.com/sarah-walker-pcem/pcem.git
synced 2025-07-23 03:33:02 +02:00
cmake: add detection logic for aarch64 (#224)
This commit is contained in:
@@ -35,6 +35,8 @@ set(archdetect_c_code "
|
||||
#else
|
||||
#error cmake_ARCH ppc
|
||||
#endif
|
||||
#elif defined(__aarch64__) || defined(_M_ARM64)
|
||||
#error cmake_ARCH arm64
|
||||
#endif
|
||||
|
||||
#error cmake_ARCH unknown
|
||||
@@ -101,4 +103,4 @@ function(target_architecture output_var)
|
||||
endif()
|
||||
|
||||
set(${output_var} "${ARCH}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
endfunction()
|
||||
|
Reference in New Issue
Block a user