aboutsummaryrefslogtreecommitdiff
path: root/toolchain/Android.cmake
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2018-09-27 14:52:54 +0200
committerAleix Pol <aleixpol@kde.org>2018-09-27 14:52:54 +0200
commit88da70365026ec218e03f6bdaf9803bddd21878c (patch)
tree25e17954c544e17664e609f80fef2354bd96ece5 /toolchain/Android.cmake
parentefb27e9188c4e0dddac62acdcc03901d656537b8 (diff)
downloadextra-cmake-modules-88da70365026ec218e03f6bdaf9803bddd21878c.tar.gz
extra-cmake-modules-88da70365026ec218e03f6bdaf9803bddd21878c.tar.bz2
Android: Properly offer a fallback to applications that don't have a manifest
The variable name was wrong, not much to see here.
Diffstat (limited to 'toolchain/Android.cmake')
-rw-r--r--toolchain/Android.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/Android.cmake b/toolchain/Android.cmake
index eeeea540..d40463cd 100644
--- a/toolchain/Android.cmake
+++ b/toolchain/Android.cmake
@@ -207,7 +207,7 @@ if(DEFINED QTANDROID_EXPORTED_TARGET AND NOT TARGET "create-apk")
message(FATAL_ERROR "Cannot find ${APK_DIR}/AndroidManifest.xml according to ANDROID_APK_DIR. ${ANDROID_APK_DIR} ${exportedTarget}")
elseif(NOT APK_DIR)
get_filename_component(_qt5Core_install_prefix "${Qt5Core_DIR}/../../../" ABSOLUTE)
- set(ANDROID_APK_DIR "${_qt5Core_install_prefix}/src/android/templates/")
+ set(APK_DIR "${_qt5Core_install_prefix}/src/android/templates/")
endif()
ecm_androiddeployqt("${exportedTarget}" "${ECM_ADDITIONAL_FIND_ROOT_PATH}")