summaryrefslogtreecommitdiffstats
path: root/cmake/QtBaseGlobalTargets.cmake
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2020-09-11 20:28:01 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2020-09-16 20:55:16 +0300
commitb9c85d6b0e274bf0a6287cd56d9e3d7376b0d004 (patch)
tree382838fe1e22a48addbd3fe65f0a0167a213f820 /cmake/QtBaseGlobalTargets.cmake
parent581ac9a4add648412a220ee3edc3553c9edae06d (diff)
CMake: build add flags for building QtAndroid.jar
Adds -source, -target, -Xlint:unchecked, -bootclasspath flags. Setting default javac build source and target versions to 8. Allow setting custom values for javac build versions via -DQT_ANDROID_JAVAC_SOURCE, and -DQT_ANDROID_JAVAC_TARGET. Task-number: QTBUG-86282 Change-Id: I98f4f193ac96016dc722d178594d7fd401202f68 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtBaseGlobalTargets.cmake')
-rw-r--r--cmake/QtBaseGlobalTargets.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/QtBaseGlobalTargets.cmake b/cmake/QtBaseGlobalTargets.cmake
index 5ffba66a77..dae6cb5d13 100644
--- a/cmake/QtBaseGlobalTargets.cmake
+++ b/cmake/QtBaseGlobalTargets.cmake
@@ -465,6 +465,7 @@ qt_copy_or_install(FILES
cmake/QtTargetHelpers.cmake
cmake/QtTestHelpers.cmake
cmake/QtToolHelpers.cmake
+ cmake/QtJavaHelpers.cmake
DESTINATION "${__GlobalConfig_install_dir}"
)