diff options
author | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-05-17 13:48:29 +0200 |
---|---|---|
committer | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-05-23 18:57:21 +0200 |
commit | c3d3e7312499189dde2ff9c0cb14bd608d6fd1cd (patch) | |
tree | b58da1b1d54944fc558c8ddcc8be1777ad246e68 /tests/auto/other | |
parent | 840939799e9803c863d1a311d429f40060ee5462 (diff) |
Prefer GSS.framework on macOS over libgssapi_krb5.tbd when using vcpkg
On macOS, vcpkg toolchain sets the value of CMAKE_FIND_FRAMEWORK and
CMAKE_FIND_APPBUNDLE to LAST which causes an issue when it comes to
GSSAPI. This change in behavior leads to FindGSSAPI.cmake finding
`usr/lib/libgssapi_krb5.tbd → Kerberos.framework` instead, which is not
exactly what we want, and it misses some necessary symbols, and as a
result Network fails to build.¹
We need to make sure that we find `GSS.framework`. Here by dropping the
alternative name on Apple platform, we end up getting the Framework
even if vcpkg prefer finding the framework LAST.
[1]: https://github.com/microsoft/vcpkg/issues/23782
Pick-to: 6.5
Change-Id: I0e7e6272dcb0fdf2c746149d2969468d66ca9ec2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/other')
0 files changed, 0 insertions, 0 deletions