mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 23:39:01 +08:00
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)
|