summaryrefslogtreecommitdiffstats
path: root/cmake/FindGSSAPI.cmake
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-06-21 14:16:44 -0700
committerThiago Macieira <thiago.macieira@intel.com>2022-06-22 12:42:11 -0700
commitc83a87eca7a435a6569e0185733982150093ee3a (patch)
tree834b0a9e42166211c31ecfab5cf6e69a35884c67 /cmake/FindGSSAPI.cmake
parent754512a64dffa20165e5b08b77e34b82c072f7f8 (diff)
CMake: fix build with FreeBSD 13.1
I don't know if they've just added the libs and therefore the GSSAPI content wasn't enabled before, but libgssapi_krb5.so does not have the symbols we need. ld: error: undefined symbol: gss_acquire_cred >>> referenced by qauthenticator.cpp:1803 (/usr/home/tjmaciei/src/qt/qt6/qtbase/src/network/kernel/qauthenticator.cpp:1803) >>> src/network/CMakeFiles/Network.dir/kernel/qauthenticator.cpp.o:(qGssapiTestGetCredentials(QStringView)) ld: error: undefined symbol: gss_release_name >>> referenced by qauthenticator.cpp:1808 (/usr/home/tjmaciei/src/qt/qt6/qtbase/src/network/kernel/qauthenticator.cpp:1808) >>> src/network/CMakeFiles/Network.dir/kernel/qauthenticator.cpp.o:(qGssapiTestGetCredentials(QStringView)) [...] Pick-to: 6.2 6.3 6.4 Change-Id: I6d3880c7d99d4fc494c8fffd16fabf70bbd272f5 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/FindGSSAPI.cmake')
-rw-r--r--cmake/FindGSSAPI.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/FindGSSAPI.cmake b/cmake/FindGSSAPI.cmake
index 6ea36a08ff..574cb1dc5b 100644
--- a/cmake/FindGSSAPI.cmake
+++ b/cmake/FindGSSAPI.cmake
@@ -13,6 +13,7 @@ find_library(GSSAPI_LIBRARIES
NAMES
GSS # framework
gss # solaris
+ gssapi # FreeBSD
gssapi_krb5
HINTS ${PC_GSSAPI_LIBDIR}
)