diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-07-22 10:31:11 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-07-23 10:44:51 +0200 |
commit | 7d07e1f1bd06b509b8ee4bae4b22338c5e16735a (patch) | |
tree | 32980c8cb156f79108c456416d44b8d46463ea91 /ConfigureChecks.cmake | |
parent | 1829e9981bb5b3269c1bc005f30c4fc41b5724e7 (diff) | |
download | libssh-7d07e1f1bd06b509b8ee4bae4b22338c5e16735a.tar.gz libssh-7d07e1f1bd06b509b8ee4bae4b22338c5e16735a.tar.xz libssh-7d07e1f1bd06b509b8ee4bae4b22338c5e16735a.zip |
cmake: If we don't have gssapi libs, disable it.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 001dfd68..d56f15b3 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -201,6 +201,10 @@ if (WITH_DEBUG_CALLTRACE) set(DEBUG_CALLTRACE 1) endif (WITH_DEBUG_CALLTRACE) +if (WITH_GSSAPI AND NOT GSSAPI_LIBS) + set(WITH_GSSAPI 0) +endif (WITH_GSSAPI AND NOT GSSAPI_LIBS) + # ENDIAN if (NOT WIN32) test_big_endian(WORDS_BIGENDIAN) |