aboutsummaryrefslogtreecommitdiff
path: root/toolchain/Android.cmake
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-09-13 01:57:58 +0200
committerAleix Pol <aleixpol@kde.org>2015-09-13 01:57:58 +0200
commit3915bacd6055087bf71ccabc5c9ddf15743f4e9a (patch)
tree78a3d8d76ea13f98ced5daef5a58a1fef340a7a4 /toolchain/Android.cmake
parent06bda539ab490a9ff96ed03c2817d9317fd9b880 (diff)
downloadextra-cmake-modules-3915bacd6055087bf71ccabc5c9ddf15743f4e9a.tar.gz
extra-cmake-modules-3915bacd6055087bf71ccabc5c9ddf15743f4e9a.tar.bz2
Use Qt5 to specify what's Qt5 installation prefix
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()