From 7d07e1f1bd06b509b8ee4bae4b22338c5e16735a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 22 Jul 2013 10:31:11 +0200 Subject: [PATCH] cmake: If we don't have gssapi libs, disable it. --- ConfigureChecks.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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)