mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-08 22:49:00 +08:00
49931943ab
* 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
5 lines
200 B
Plaintext
5 lines
200 B
Plaintext
libbson provides CMake targets:
|
|
|
|
find_package(bson-1.0 CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mongo::bson_static>,mongo::bson_static,mongo::bson_shared>)
|