CMake: added ANDROID_PREBUILD option

This commit is contained in:
matlabbe
2017-07-13 13:36:34 -04:00
parent 85f7c1e73c
commit 517c70d855
7 changed files with 76 additions and 41 deletions
+1 -6
View File
@@ -22,9 +22,4 @@ echo "wget android-ndk..."
wget -nv https://dl.google.com/android/repository/android-ndk-r14-linux-x86_64.zip
unzip -qq android-ndk-r14-linux-x86_64.zip
rm android-ndk-r14-linux-x86_64.zip
mv android-ndk-r14 /opt/.
# Install directory for all dependencies
mkdir -p /opt/android/armeabi-v7a
mkdir -p /opt/android/arm64-v8a
wget -nv https://github.com/introlab/rtabmap/raw/master/cmake_modules/android.toolchain.cmake
mv android-ndk-r14 $ANDROID_NDK