From 8bffcdc52f9c83516f055290711a6369b307129f Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 7 Dec 2022 09:59:08 +0100 Subject: [PATCH] CMake: Install module JSON files to INSTALL_ARCHDATADIR/modules The module description JSON files contain architecture-specific information. Therefore they should reside below INSTALL_ARCHDATADIR instead of INSTALL_DATADIR. Moving these files should be unproblematic as there are no known users of these files. Change-Id: Ibff1f7b6ce2d1633ebce33861358ad5d1cae2beb Reviewed-by: Alexandru Croitor --- cmake/QtBuild.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index cc169a5ab9b..7f87cf71b15 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -140,7 +140,7 @@ qt_configure_process_path(INSTALL_SYSCONFDIR qt_configure_process_path(INSTALL_EXAMPLESDIR "examples" "Examples [PREFIX/examples]") qt_configure_process_path(INSTALL_TESTSDIR "tests" "Tests [PREFIX/tests]") qt_configure_process_path(INSTALL_DESCRIPTIONSDIR - "${INSTALL_DATADIR}/modules" + "${INSTALL_ARCHDATADIR}/modules" "Module description files directory") if(NOT "${CMAKE_STAGING_PREFIX}" STREQUAL "")