mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 20:59:55 +08:00
83ef251331
* [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>
7 lines
226 B
Plaintext
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)
|