Skip to content

Commit

Permalink
fix: detect ARM64EC as an ARM64 target
Browse files Browse the repository at this point in the history
  • Loading branch information
kobykahane committed Jan 6, 2024
1 parent c97250e commit b78dbfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/TargetArch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ set(archdetect_c_code
/*
ARM family, known revisions: V5, V6, V7, V8
*/
#if defined(__arm__) || defined(__TARGET_ARCH_ARM) || defined(_M_ARM) || defined(_M_ARM64) || defined(__aarch64__) || defined(__ARM64__)
# if defined(__aarch64__) || defined(__ARM64__) || defined(_M_ARM64)
#if defined(__arm__) || defined(__TARGET_ARCH_ARM) || defined(_M_ARM) || defined(_M_ARM64) || defined(_M_ARM64EC) || defined(__aarch64__) || defined(__ARM64__)
# if defined(__aarch64__) || defined(__ARM64__) || defined(_M_ARM64) || defined(_M_ARM64EC)
# error cmake_ARCH arm64
# else
# error cmake_ARCH arm
Expand Down

0 comments on commit b78dbfc

Please sign in to comment.