mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 11:21:38 +08:00
[vcpkg] [Android]Compile armv6 with arm mode (#17962)
* Compile amrv6 with arm mode * Update android.cmake
This commit is contained in:
parent
b2544fd780
commit
b8dbf43b08
@ -8,6 +8,7 @@ if (VCPKG_TARGET_TRIPLET MATCHES "^arm64-android")
|
|||||||
set(ANDROID_ABI arm64-v8a CACHE STRING "")
|
set(ANDROID_ABI arm64-v8a CACHE STRING "")
|
||||||
elseif(VCPKG_TARGET_TRIPLET MATCHES "^armv6-android")
|
elseif(VCPKG_TARGET_TRIPLET MATCHES "^armv6-android")
|
||||||
set(ANDROID_ABI armeabi CACHE STRING "")
|
set(ANDROID_ABI armeabi CACHE STRING "")
|
||||||
|
set(ANDROID_ARM_MODE arm CACHE STRING "")
|
||||||
elseif(VCPKG_TARGET_TRIPLET MATCHES "^arm-neon-android")
|
elseif(VCPKG_TARGET_TRIPLET MATCHES "^arm-neon-android")
|
||||||
set(ANDROID_ABI armeabi-v7a CACHE STRING "")
|
set(ANDROID_ABI armeabi-v7a CACHE STRING "")
|
||||||
set(ANDROID_ARM_NEON ON CACHE BOOL "")
|
set(ANDROID_ARM_NEON ON CACHE BOOL "")
|
||||||
|
Loading…
Reference in New Issue
Block a user