summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2016-09-20 22:38:17 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2016-09-20 22:38:17 -0500
commit769e8885c220b902b5cf074d18a8cefa2f52e8ec (patch)
treeda544a96d27455b1ce94c5f754f3a86c08892119 /ConfigureChecks.cmake
parent0a874e41b6f30d3276a8ab6536a7c3f692ffed65 (diff)
downloadtdebase-769e8885c220b902b5cf074d18a8cefa2f52e8ec.tar.gz
tdebase-769e8885c220b902b5cf074d18a8cefa2f52e8ec.zip
Add missing Kerberos checks
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index ee7350711..fc57f0803 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -433,6 +433,16 @@ if( WITH_HAL AND (BUILD_KSMSERVER OR BUILD_KICKER OR BUILD_TDEIOSLAVES) )
endif( )
+# check for krb5
+if( WITH_KRB5 )
+ pkg_search_module( KRB5 krb5 )
+ if( NOT KRB5_FOUND )
+ message(FATAL_ERROR "\nKerberos support was requested, but krb5 was not found on your system" )
+ endif( NOT KRB5_FOUND )
+ set( HAVE_KRB5 1 )
+ set( LIBTDELDAP_LIBRARIES "tdeldap" )
+endif( )
+
# check for libr
if( WITH_ELFICON )
pkg_search_module( LIBR libr )