Browse Source

Fix architecture detection in cmake build (#1890)

pull/1891/head
Vort 2 years ago committed by GitHub
parent
commit
10dfe39f5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build/cmake_modules/TargetArch.cmake

2
build/cmake_modules/TargetArch.cmake

@ -18,7 +18,7 @@ set(archdetect_c_code "
|| defined(_M_ARM64) \\ || defined(_M_ARM64) \\
|| (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM-0 >= 8) || (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM-0 >= 8)
#error cmake_ARCH arm64 #error cmake_ARCH arm64
#if defined(__ARM_ARCH_7__) \\ #elif defined(__ARM_ARCH_7__) \\
|| defined(__ARM_ARCH_7A__) \\ || defined(__ARM_ARCH_7A__) \\
|| defined(__ARM_ARCH_7R__) \\ || defined(__ARM_ARCH_7R__) \\
|| defined(__ARM_ARCH_7M__) \\ || defined(__ARM_ARCH_7M__) \\

Loading…
Cancel
Save