diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-10-21 14:01:29 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-10-22 20:57:56 +0000 |
commit | 5f142695bc6f634378c1fabd508eaa609645af57 (patch) | |
tree | c6d2daa036343c29c400621de079aa60f5f4fdf8 /src/plugins/platforms/ios | |
parent | 4e1b2f59dd9582a271db38d3c5498152229b8816 (diff) |
CMake: Fix -rpath-link dependencies take two
The previous implementation would pick up static Qt deps of a
shared Qt library as packages to find, but packages are not
created for these static libraries in a shared Qt build.
For example Qt::BundledSpirv_Cross is a static helper lib
that is linked directly into ShaderTools shared lib and no CMake
package is created for it, so we shouldn't look for it.
Separate the code path to filter out private dependencies
of a shared library target that don't have packages.
Amends 87215c70c0ff0bdc52dfa463f050d2aa049cdd91
Fixes: QTBUG-97673
Task-number: QTBUG-86533
Change-Id: I43490b4d20c150256ccfa8b511a6e0e6b0f4b313
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 606124c5cceba0dd4a406a9278588b58bb9f9800)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/plugins/platforms/ios')
0 files changed, 0 insertions, 0 deletions