From 3915bacd6055087bf71ccabc5c9ddf15743f4e9a Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sun, 13 Sep 2015 01:57:58 +0200 Subject: Use Qt5 to specify what's Qt5 installation prefix --- toolchain/Android.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toolchain/Android.cmake') diff --git a/toolchain/Android.cmake b/toolchain/Android.cmake index bfc166a8..9b104747 100644 --- a/toolchain/Android.cmake +++ b/toolchain/Android.cmake @@ -172,6 +172,8 @@ if(DEFINED QTANDROID_EXPORTED_TARGET AND NOT TARGET ${CREATEAPK_TARGET_NAME}) message(FATAL_ERROR "Define an apk dir to initialize from using -DANDROID_APK_DIR=. The specified directory must contain the AndroidManifest.xml file.") endif() + find_package(Qt5Core REQUIRED) + function(EOFHook) if(CMAKE_PARENT_LIST_FILE STREQUAL "") generate_deployment_file() -- cgit v1.2.1