From a2631f5bc0f5a71789231e8154f438552395c7bc Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Tue, 25 Jun 2024 11:21:17 +0200 Subject: [PATCH] Fix the per-repo config.opt/.summary files installation Add the file renaming rules. Task-number: QTBUG-78749 Change-Id: Ibf13d3570c076e4c287b7d44430be90e98a1e72b Reviewed-by: Joerg Bornemann --- cmake/QtBuildRepoHelpers.cmake | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cmake/QtBuildRepoHelpers.cmake b/cmake/QtBuildRepoHelpers.cmake index 7a74b163935..d55e8559bcb 100644 --- a/cmake/QtBuildRepoHelpers.cmake +++ b/cmake/QtBuildRepoHelpers.cmake @@ -385,8 +385,16 @@ macro(qt_build_repo_end) string(TOLOWER "${PROJECT_NAME}" repo_name) qt_install( FILES - "${CMAKE_BINARY_DIR}/config_${repo_name}.opt" - "${CMAKE_BINARY_DIR}/config_${repo_name}.summary" + "${CMAKE_BINARY_DIR}/config.opt" + RENAME + "config_${repo_name}.opt" + DESTINATION ${INSTALL_DATADIR} + ) + qt_install( + FILES + "${CMAKE_BINARY_DIR}/config.summary" + RENAME + "config_${repo_name}.summary" DESTINATION ${INSTALL_DATADIR} ) endif()