summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/android/bluetooth/CMakeLists.txt4
-rw-r--r--src/android/nfc/CMakeLists.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/android/bluetooth/CMakeLists.txt b/src/android/bluetooth/CMakeLists.txt
index b22c2b80..4bc44811 100644
--- a/src/android/bluetooth/CMakeLists.txt
+++ b/src/android/bluetooth/CMakeLists.txt
@@ -18,8 +18,10 @@ qt_internal_add_jar(Qt${QtConnectivity_VERSION_MAJOR}AndroidBluetooth
OUTPUT_DIR "${QT_BUILD_DIR}/jar"
)
+qt_path_join(destination ${INSTALL_DATADIR} "jar")
+
install_jar(Qt${QtConnectivity_VERSION_MAJOR}AndroidBluetooth
- DESTINATION jar
+ DESTINATION ${destination}
COMPONENT Devel
)
diff --git a/src/android/nfc/CMakeLists.txt b/src/android/nfc/CMakeLists.txt
index 3658705d..8a8bb1f1 100644
--- a/src/android/nfc/CMakeLists.txt
+++ b/src/android/nfc/CMakeLists.txt
@@ -14,8 +14,10 @@ qt_internal_add_jar(Qt${QtConnectivity_VERSION_MAJOR}AndroidNfc
OUTPUT_DIR "${QT_BUILD_DIR}/jar"
)
+qt_path_join(destination ${INSTALL_DATADIR} "jar")
+
install_jar(Qt${QtConnectivity_VERSION_MAJOR}AndroidNfc
- DESTINATION jar
+ DESTINATION ${destination}
COMPONENT Devel
)