aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2016-03-14 22:27:38 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2016-03-14 22:27:38 +0100
commit7c2db045a88a2f30bd339912aa1b6b49c8faef7e (patch)
tree8470e4fecf30112e8e0045fd14befdbf09d6a077 /cmake
parent50276273448d042084ee44bc0cfae152c8abc110 (diff)
downloadlibssh-7c2db045a88a2f30bd339912aa1b6b49c8faef7e.tar.gz
libssh-7c2db045a88a2f30bd339912aa1b6b49c8faef7e.tar.xz
libssh-7c2db045a88a2f30bd339912aa1b6b49c8faef7e.zip
cmake: detect MIT gssapi shim on osx
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindGSSAPI.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/Modules/FindGSSAPI.cmake b/cmake/Modules/FindGSSAPI.cmake
index 8520d35d..4c3f44b1 100644
--- a/cmake/Modules/FindGSSAPI.cmake
+++ b/cmake/Modules/FindGSSAPI.cmake
@@ -54,7 +54,8 @@ if (UNIX)
OUTPUT_VARIABLE
_GSSAPI_VENDOR_STRING)
- if (_GSSAPI_VENDOR_STRING MATCHES ".*Massachusetts.*")
+ if ((_GSSAPI_VENDOR_STRING MATCHES ".*Massachusetts.*") OR (_GSSAPI_VENDOR_STRING
+ MATCHES ".*MITKerberosShim.*"))
set(GSSAPI_FLAVOR_MIT TRUE)
else()
execute_process(