diff options
author | Jøger Hansegård <joger.hansegard@qt.io> | 2024-06-20 15:56:29 +0200 |
---|---|---|
committer | Jøger Hansegård <joger.hansegard@qt.io> | 2024-06-21 09:17:09 +0200 |
commit | 24ea2efe32d6f78e84e0f2741cea1b542c20f00c (patch) | |
tree | 0c0b82e63f11d02fd85e94ddfd9ee7073b22fd8a /tools/testcon/CMakeLists.txt | |
parent | 2c9aabcd649701832cb12d9036ee7b2331fef021 (diff) |
We should only give a value to the custom command's MAIN_DEPENDENCY if
the type library is a file, not when it is an UUID. If the
MAIN_DEPENDENCY does not exist as a target or a file, the custom command
is not run at build time.
This regression was introduced in
377c95c4a09f7c363c5c609c2bf7907373c39925 when the MAIN_DEPENDENCY was
introduced to reevaluate the custom command if the type library file
changed.
Fixes: QTBUG-126518
Pick-to: 6.8
Change-Id: Idc5346049ce9e5215827a454c3031e5062fb010d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tools/testcon/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions