X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=bf56d71d8156fd7775848f48a387906e9e1a1d14;hp=f8c0a5086018e476c0d4cd9e1f2649eae6261d51;hb=8435819ba319ea8f677dfe85f0ac639e29ffad1e;hpb=931e5280abc6738f94ac052af2a7e31e82487cf1 diff --git a/CMakeLists.txt b/CMakeLists.txt index f8c0a508..bf56d71d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -521,18 +521,18 @@ endif() # Setup LDAP Authentication support. ##################################################################### if(WITH_LDAP) - find_package(Ldap) - if(LDAP_FOUND) - message(STATUS "Enabling LDAP authentication support") - set(HAVE_LDAP true) - if(HAVE_LDAP) - add_definitions(-DHAVE_LDAP) - endif(HAVE_LDAP) - else(LDAP_FOUND) - message(STATUS "Disabling LDAP authentication support") - endif(LDAP_FOUND) + find_package(Ldap) + if(LDAP_FOUND) + message(STATUS "Enabling LDAP authentication support") + set(HAVE_LDAP true) + if(HAVE_LDAP) + add_definitions(-DHAVE_LDAP) + endif(HAVE_LDAP) + else(LDAP_FOUND) + message(STATUS "Disabling LDAP authentication support") + endif(LDAP_FOUND) else(WITH_LDAP) - message(STATUS "Not enabling LDAP authentication support") + message(STATUS "Not enabling LDAP authentication support") endif(WITH_LDAP) # Setup KDE / KDE Frameworks