drop nessary custom android.cmake

pull/64/head
hanbowen 2 years ago
parent 9a23b15a1e
commit 4256437638
  1. 9
      scripts/mbedtls/android.cmake
  2. 2
      scripts/mbedtls/build.sh

@ -1,9 +0,0 @@
# Enable NEON for all ARM processors
set(ANDROID_ARM_NEON TRUE)
# By including this file all necessary variables that point to compiler, linker, etc.
# will be setup. Well, almost all.
# Two variables have to be set before this line though:
# ANDROID_PLATOFORM - the API level to compile against (number)
# ANDROID_ABI - the ABI of the target platform
include("$ENV{ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake")

@ -11,7 +11,7 @@ cd ${CMAKE_BUILD_DIR}
${CMAKE_EXECUTABLE} .. \
-DANDROID_PLATFORM=${ANDROID_PLATFORM} \
-DANDROID_ABI=${ANDROID_ABI} \
-DCMAKE_TOOLCHAIN_FILE=${SCRIPTS_DIR}/mbedtls/android.cmake \
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake \
-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} \
-DENABLE_TESTING=0

Loading…
Cancel
Save