aboutsummaryrefslogtreecommitdiff
path: root/toolchain/Android.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/Android.cmake')
-rw-r--r--toolchain/Android.cmake2
1 files changed, 2 insertions, 0 deletions
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=<path>. 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()