aboutsummaryrefslogtreecommitdiff
path: root/toolchain/deployment-file-qt514.json.in
diff options
context:
space:
mode:
authorGabriel Souza Franco <gabrielfrancosouza@gmail.com>2020-09-11 09:49:50 -0300
committerAleix Pol Gonzalez <aleixpol@kde.org>2020-09-16 14:53:29 +0000
commit3672943cf1128470cae08c70f2d5c97887cd3125 (patch)
treec1126fee0e5ea4046cc6b6e89b04f51539d35fda /toolchain/deployment-file-qt514.json.in
parent4a3659f1d474b8a94bd4d28e1ab919d7d4e6d28c (diff)
downloadextra-cmake-modules-3672943cf1128470cae08c70f2d5c97887cd3125.tar.gz
extra-cmake-modules-3672943cf1128470cae08c70f2d5c97887cd3125.tar.bz2
Store Android {min,target,compile}Sdk in variables
Also pass along these values to androiddeployqt
Diffstat (limited to 'toolchain/deployment-file-qt514.json.in')
-rw-r--r--toolchain/deployment-file-qt514.json.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/deployment-file-qt514.json.in b/toolchain/deployment-file-qt514.json.in
index ac069c4d..65e2a0b8 100644
--- a/toolchain/deployment-file-qt514.json.in
+++ b/toolchain/deployment-file-qt514.json.in
@@ -13,6 +13,8 @@
"android-package-source-directory": "$<TARGET_PROPERTY:create-apk-${QTANDROID_EXPORTED_TARGET},ANDROID_APK_DIR>",
"stdcpp-path": "@CMAKE_SYSROOT@/usr/lib",
"sdkBuildToolsRevision": "@ANDROID_SDK_BUILD_TOOLS_REVISION@",
+ "android-min-sdk-version": "@ANDROID_API_LEVEL@",
+ "android-target-sdk-version": "@ANDROID_SDK_COMPILE_API@",
"extraPrefixDirs": [ @EXTRA_PREFIX_DIRS@ ],
"architectures": { "@CMAKE_ANDROID_ARCH_ABI@": "@ECM_ANDROID_STL_ARCH@" }
}