summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-08-24 11:18:45 +0200
committerMichal Klocek <michal.klocek@qt.io>2021-08-30 19:48:11 +0200
commiteac950fad133f49badc969f44ee4dc0a13a25697 (patch)
tree7d24071162c83d96217ddc1b4f720063974331ce
parent63306e724aa9a0c12c50a57742776214baf03521 (diff)
Fix installation paths of resources and locales
Fixes: QTBUG-95231 Change-Id: I9aa2c42f97b903d17a709767f26b0b4dde4db8b5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 146b1537a6c0f781cdd2673515eaf784f9d02db5)
-rw-r--r--src/core/api/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/api/CMakeLists.txt b/src/core/api/CMakeLists.txt
index 192afd01b..7f0380216 100644
--- a/src/core/api/CMakeLists.txt
+++ b/src/core/api/CMakeLists.txt
@@ -129,11 +129,11 @@ if(QT_FEATURE_framework)
add_custom_target(generate_resources_${config} DEPENDS ${allResourceFiles})
else()
install(FILES ${localeFiles}
- DESTINATION translations/qtwebengine_locales
+ DESTINATION ${INSTALL_TRANSLATIONSDIR}/qtwebengine_locales
CONFIGURATIONS ${config}
)
install(FILES ${resourceFiles}
- DESTINATION resources
+ DESTINATION ${INSTALL_DATADIR}/resources
CONFIGURATIONS ${config}
)
if(NOT QT_WILL_INSTALL)