diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2023-01-27 15:36:31 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2023-02-09 11:27:29 +0100 |
commit | 6c28528e40bc0e730ef3828595b4ef83a373a697 (patch) | |
tree | c92a09084929005244ee2501ddeb2359c17b5ebb /src/3rdparty/angle | |
parent | 5ae8417c4f6348ab9f78a93fbb83e0c27c57d288 (diff) |
CMake: Fix directory scoping issue for qt6_generate_deploy_script
Consider a Qt target created in a subdirectory and a call to
qt6_generate_deploy_app_script(target) in the parent directory.
Once qt6_generate_deploy_script (called by
qt6_generate_deploy_app_script) is run, the target has already been
finalized. However, qt6_generate_deploy_script needs to run before
finalization, because:
- qt6_generate_deploy_script marks the target as to be deployed
- the finalizer generates plugins information only if the target was
marked to be deployed
Fix this in qt6_generate_deploy_script by checking whether the target
was already finalized. In that case, generate the plugin deployment
information right away.
Pick-to: 6.5
Fixes: QTBUG-109741
Change-Id: Idf60f9e21f038c1a33843177d9299230857ee70b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/3rdparty/angle')
0 files changed, 0 insertions, 0 deletions