diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-01-21 21:55:08 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-01-31 11:10:40 +0100 |
commit | 8a94d1e2946644253cf2979c35636cbfb850422d (patch) | |
tree | 7e67e855ee3408d28a63585645e1069c4fbb4513 /coin/platform_configs | |
parent | 4a5550cc035b6f2e4e7e14369620c1787bbe1521 (diff) |
CMake: Rework inter-repository dependency resolution
In certain cases the dependency resolution between Qt repositories
resulted in a wrong order, for example qtsvg being handled before
qtbase. See the linked task for an example.
Replace the existing algorithm with a post-order traversal of the
dependency graph to produce a topological ordering.
Rename qt_internal_add_module_dependencies to
qt_internal_resolve_module_dependencies and remove unnecessary
positional arguments. Use keyword arguments for a nicer API.
Raise the cmake_policy in QtSynchronizeRepo.cmake to avoid policy
warnings we now would get due to the use of IN_LIST.
Fixes: QTBUG-98268
Change-Id: I1425fd9c802fa71ae42549ceb14bcfc4c0a62078
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'coin/platform_configs')
0 files changed, 0 insertions, 0 deletions