Gordon Smith 83ef251331
[openldap] Add new port (#26122)
* [openlap] Add new port

Merge pull request #1 from dg0yt/openldap

Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>

* [openlap] Add new port

m4.patch is needed when libtool < 2.4.6
m4.patch will only work with autoconf < 2.70

Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>

* wip:  Make cyrus-sasl optional

Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
2022-08-11 18:17:53 -07:00

7 lines
226 B
Plaintext

The package openldapp can be imported via CMake FindPkgConfig module:
find_package(PkgConfig)
pkg_check_modules(OPENLDAP REQUIRED IMPORTED_TARGET ldap)
target_link_libraries(main PRIVATE PkgConfig::OPENLDAP)