diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-01-05 19:03:43 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-01-05 19:03:43 +0100 |
commit | ea1b35d76f1f51d37ebf94494cb7c77b6f82aa61 (patch) | |
tree | 4a69ea11213ab7d536a4e980e1be3e561a2ca4f2 /ConfigureChecks.cmake | |
parent | 4a479930bbaafbeeaaf525507eb0af47ea2adcd2 (diff) | |
download | kcmldap-ea1b35d76f1f51d37ebf94494cb7c77b6f82aa61.tar.gz kcmldap-ea1b35d76f1f51d37ebf94494cb7c77b6f82aa61.zip |
cmake: Add krb5 library detection.
Add krb5 include directories.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 63df149..b4ba4da 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -35,5 +35,13 @@ find_library( HAVE_LIBTDELDAP tdeldap ) if( HAVE_LIBTDELDAP ) set( LIBTDELDAP_LIBRARIES "tdeldap" ) else() - tde_message_fatal( "libtdeldap is requested, but was not found on your system" ) + tde_message_fatal( "libtdeldap is required, but was not found on your system" ) +endif( ) + + +##### check for krb5 + +pkg_search_module( KRB5 krb5 ) +if( NOT KRB5_FOUND) + tde_message_fatal( "krb5 library is required but not found on your system" ) endif( ) |