summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/chartsqml2/designer/CMakeLists.txt3
-rw-r--r--src/chartsqml2/designer/default/CMakeLists.txt3
-rw-r--r--src/chartsqml2/designer/images/CMakeLists.txt3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/chartsqml2/designer/CMakeLists.txt b/src/chartsqml2/designer/CMakeLists.txt
index 42115e7b..b0f18096 100644
--- a/src/chartsqml2/designer/CMakeLists.txt
+++ b/src/chartsqml2/designer/CMakeLists.txt
@@ -1,8 +1,9 @@
+qt_path_join(destination ${QT_INSTALL_DIR} "${INSTALL_QMLDIR}/QtCharts/designer")
qt_copy_or_install(
FILES
ChartViewSpecifics.qml
qtcharts.metainfo
- DESTINATION "${INSTALL_QMLDIR}/QtCharts/designer"
+ DESTINATION ${destination}
)
add_subdirectory(default)
diff --git a/src/chartsqml2/designer/default/CMakeLists.txt b/src/chartsqml2/designer/default/CMakeLists.txt
index ccf366d8..dc2c2dda 100644
--- a/src/chartsqml2/designer/default/CMakeLists.txt
+++ b/src/chartsqml2/designer/default/CMakeLists.txt
@@ -1,3 +1,4 @@
+qt_path_join(destination ${QT_INSTALL_DIR} "${INSTALL_QMLDIR}/QtCharts/designer/default")
qt_copy_or_install(
FILES
AreaSeries.qml
@@ -16,5 +17,5 @@ qt_copy_or_install(
PolarLineSeries.qml
PolarScatterSeries.qml
PolarSplineSeries.qml
- DESTINATION "${INSTALL_QMLDIR}/QtCharts/designer/default"
+ DESTINATION "${destination}"
)
diff --git a/src/chartsqml2/designer/images/CMakeLists.txt b/src/chartsqml2/designer/images/CMakeLists.txt
index 0487f007..ec85d9c7 100644
--- a/src/chartsqml2/designer/images/CMakeLists.txt
+++ b/src/chartsqml2/designer/images/CMakeLists.txt
@@ -1,3 +1,4 @@
+qt_path_join(destination ${QT_INSTALL_DIR} "${INSTALL_QMLDIR}/QtCharts/designer/images")
qt_copy_or_install(
FILES
areaseries-chart-icon.png
@@ -32,5 +33,5 @@ qt_copy_or_install(
scatterseries-polar-icon16.png
splineseries-polar-icon.png
splineseries-polar-icon16.png
- DESTINATION "${INSTALL_QMLDIR}/QtCharts/designer/images"
+ DESTINATION "${destination}"
)