Commit cc24215c authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Android: specify the desired android API

parent 1b1891ab
......@@ -9,11 +9,14 @@ shift
url=$1
shift
$DIR/build-cmake-native $name $url \
-DCMAKE_INSTALL_PREFIX=${APP_INSTALL_PREFIX-"/opt/kdeandroid-deps"} \
-DCMAKE_PREFIX_PATH="$QT_ANDROID;/opt/kdeandroid-deps;$APP_INSTALL_PREFIX" \
-DCMAKE_BUILD_TYPE=debug \
-DCMAKE_TOOLCHAIN_FILE=/opt/kdeandroid-deps/share/ECM/toolchain/Android.cmake \
-DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=$ANDROID_NDK_TOOLCHAIN_VERSION \
-DCMAKE_ANDROID_API=${ANDROID_NDK_PLATFORM:8} # we just need the number and here we'll be getting 'android-21'
-DKF5_HOST_TOOLING=/opt/nativetooling/lib/x86_64-linux-gnu/cmake/ \
$@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment