diff options
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/Android.cmake | 1 | ||||
-rw-r--r-- | toolchain/ECMAndroidDeployQt.cmake | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/toolchain/Android.cmake b/toolchain/Android.cmake index 8254304c..517aabec 100644 --- a/toolchain/Android.cmake +++ b/toolchain/Android.cmake @@ -197,7 +197,6 @@ if(DEFINED QTANDROID_EXPORTED_TARGET AND NOT TARGET "create-apk") if(APK_DIR AND NOT EXISTS "${APK_DIR}/AndroidManifest.xml") message(FATAL_ERROR "Cannot find ${APK_DIR}/AndroidManifest.xml according to ANDROID_APK_DIR. ${ANDROID_APK_DIR} ${exportedTarget}") endif() - message(WARNING "${idx} ${last} -- ecm_androiddeployqt(\"${exportedTarget}\" \"${ECM_ADDITIONAL_FIND_ROOT_PATH}\" \"${APK_DIR}\")") ecm_androiddeployqt("${exportedTarget}" "${ECM_ADDITIONAL_FIND_ROOT_PATH}" "${APK_DIR}") endforeach() else() diff --git a/toolchain/ECMAndroidDeployQt.cmake b/toolchain/ECMAndroidDeployQt.cmake index da786ed8..d9f3781f 100644 --- a/toolchain/ECMAndroidDeployQt.cmake +++ b/toolchain/ECMAndroidDeployQt.cmake @@ -1,7 +1,7 @@ find_package(Qt5Core REQUIRED) function(ecm_androiddeployqt QTANDROID_EXPORTED_TARGET ECM_ADDITIONAL_FIND_ROOT_PATH ANDROID_APK_DIR) - get_filename_component(_qt5Core_install_prefix "${Qt5_DIR}/../../../" ABSOLUTE) + get_filename_component(_qt5Core_install_prefix "${Qt5Core_DIR}/../../../" ABSOLUTE) if(NOT ANDROID_APK_DIR) set(ANDROID_APK_DIR "${_qt5Core_install_prefix}/src/android/templates/") endif() |