diff options
author | Craig Scott <craig.scott@qt.io> | 2021-05-04 17:09:47 +1000 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-05-11 18:57:17 +0200 |
commit | f5c69a5195684bf11a4d55c189435eea35e66125 (patch) | |
tree | 8bc081946d38a9705d46525b0bc47baa1e666087 /examples/widgets/draganddrop/CMakeLists.txt | |
parent | 8fc3fcf4252ccc9a8db22f468ca7a1fcbb0c845b (diff) |
CMake: Walk link dependencies recursively to work out finalizers
When versionless targets are used, they are defined as INTERFACE
IMPORTED targets. These will sit between the executable target created
by qt6_add_executable() and the underlying Qt6::XXX module library
where the finalizers are defined. We need to recurse through the link
dependencies to ensure we pick up these finalizers. This will also
ensure we pick up finalizers in deeper targets from transitive
dependencies.
Fixes: QTBUG-93387
Change-Id: If8524ebf0e75c8790858dd7e42aa1cf4ebdfd989
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/widgets/draganddrop/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions