cmake: Modernize cmake support for LDAP
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 8 Aug 2018 20:22:39 +0000 (22:22 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
commitbad087a1b604c92c7c0bf3cf818b81d26e15c1c4
tree26d617dd80bb5c380176b5b98d774d035f03af87
parent53f09c31bd4e59ffc1830660aebb221f52b06a6f
cmake: Modernize cmake support for LDAP

Use a more modern, property-based find script for the LDAP libraries
and get rid of the deprecated use of LDAP_LIBRARIES and similar
variables in favor of a namespaced Ldap::Ldap target.
Set package properties for better diagnostic output at configure time.
CMakeLists.txt
cmake/FindLdap.cmake
src/core/CMakeLists.txt
src/core/core.cpp