mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:28:59 +08:00
68c63203e6
* get latest version * libbson 1.17.6 * Updated patches * bson sha * Mongoc upgraded to 1.17.6 * updated sha * Updated mongoc to latest * updated sha * upgraded mongo-cxx * manifest fix * updated sha * PR comments * updated sha * fixed missing dependency. deleted unused patch * sha * PR comments * sha * Use modern cmake helpers for mongo-cxx-driver. * Rebuild version database. Co-authored-by: Billy Robert ONeal III <bion@microsoft.com> Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
10 lines
298 B
Plaintext
10 lines
298 B
Plaintext
The package mongo-c-driver is compatible with built-in CMake targets:
|
|
|
|
find_package(mongoc-1.0 CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE mongo::mongoc_shared)
|
|
|
|
or:
|
|
|
|
find_package(mongoc-1.0 CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE mongo::mongoc_static)
|