From 88da70365026ec218e03f6bdaf9803bddd21878c Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 27 Sep 2018 14:52:54 +0200 Subject: Android: Properly offer a fallback to applications that don't have a manifest The variable name was wrong, not much to see here. --- toolchain/Android.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/Android.cmake') 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}") -- cgit v1.2.1