vcpkg/ports/mongo-c-driver/usage
Kai Pastor 49931943ab
[mongo-c-driver,libbson] Update and fixes (#27517)
* Update and fix mongo-c-driver, libbson

* Update versions

* Feature zstd needs pkgconf

* Update versions

* Set host triplet to bring pkgconf into PATH

* Update versions
2022-11-02 14:39:31 -07:00

5 lines
215 B
Plaintext

mongo-c-driver provides CMake targets:
find_package(mongoc-1.0 CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mongo::mongoc_shared>,mongo::mongoc_shared,mongo::mongoc_static>)