Commit e62a4e28 authored by Sharaf Zaman's avatar Sharaf Zaman

Show status message only if Android toolchain is being used

and minor typo fixed
parent c79fcd77
......@@ -949,7 +949,7 @@ if(DEFINED QTANDROID_EXPORTED_TARGET AND NOT TARGET "create-apk")
ecm_androiddeployqt("${exportedTarget}" "${ECM_ADDITIONAL_FIND_ROOT_PATH}")
set_target_properties(create-apk-${exportedTarget} PROPERTIES ANDROID_APK_DIR "${APK_DIR}")
endforeach()
else()
elseif(ANDROID)
message(STATUS "You can export a target by specifying -DQTANDROID_EXPORTED_TARGET=<targetname> and -DANDROID_APK_DIR=<paths>")
endif()
......@@ -5,7 +5,7 @@
: ${ANDROID_SDK_ROOT?"Android SDK path must be set"}
: ${ANDROID_API_LEVEL?"API level required"}
: ${QT_ANDROID?"path to qt android required"}
: ${INSTALL_PREFIX?"INSTALL_ROOT must be set for building apk"}
: ${INSTALL_PREFIX?"INSTALL_PREFIX must be set for building apk"}
CURDIR="$(pwd)"/
......
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