Resolve an issue with detecting GSSAPI on macOS
Spack, like VcPkg, sets the `CMAKE_FIND_FRAMEWORK` to `LAST`, as a result, similar to VcPkg, when Spack is used, FindGSSAPI opts for `gssapi_krb5` which is not what we want. By dropping the `gssapi_krb5` from the list of alternative names we can resolve this without much tinkering with internals of these package managers. Pick-to: 6.5 6.6 Fixes: QTBUG-114537 Change-Id: If517c409511f58e3bed78316a2030393dc249a40 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
451c0a6b1c
commit
1bf144ba78
@ -23,7 +23,7 @@ set(gssapi_library_names
|
||||
gssapi # FreeBSD
|
||||
gssapi_krb5
|
||||
)
|
||||
if(VCPKG_TARGET_TRIPLET AND APPLE)
|
||||
if(APPLE)
|
||||
list(REMOVE_ITEM gssapi_library_names "gssapi_krb5")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user