summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/code
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2023-12-07 13:49:15 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2023-12-07 16:35:25 +0100
commitc29029c4cdee85a4c04acaf30e2e085fe57867ed (patch)
treedfa34c19d58e379493d7fdfc09ede96416046c27 /src/gui/doc/snippets/code
parent2e154ac0202f20c56ab221b3f333a00f7134a032 (diff)
CMake: Fix generation of target deployment information
The _qt_internal_write_target_deploy_info function doesn't clear its result variable, which is why we had left-over elements in the targets variable. Some of these left-overs have a target type that's not compatible with TARGET_RUNTIME_DLLS, leading to the CMake error: Objects of target "lib1" referenced but is not one of the allowed target types (EXECUTABLE, SHARED, MODULE).". Fix this by clearing the targets variable initially. Fixes: QTBUG-119792 Change-Id: I921aa2f0af72638ed0ed7434450a43c66c1fc9f1 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions