Fix the dependency list naming when collecting repo dependencies
The 'dependencies.yaml' file contains entries that aligned with the repository naming but not the Qt projects naming. When parsing it to collect the dependencies for the standalone repo we should cut the 'tqtc-' repo prefix to avoid malformed names in QT_REPO_DEPENDENCIES variable. Pick-to: 6.5 6.6 Change-Id: If80e61394f245f09b620a9210246053d4e475f86 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
a61d752951
commit
e5c7bb62ee
@ -39,6 +39,9 @@ function(qt_internal_read_repo_dependencies out_var repo_dir)
|
||||
if(NOT dependency IN_LIST seen)
|
||||
qt_internal_read_repo_dependencies(subdeps "${dependency_repo_dir}"
|
||||
${seen} ${dependency})
|
||||
if(dependency MATCHES "^tqtc-(.+)")
|
||||
set(dependency "${CMAKE_MATCH_1}")
|
||||
endif()
|
||||
list(APPEND dependencies ${subdeps} ${dependency})
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user