mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 07:19:00 +08:00
5 lines
211 B
Plaintext
5 lines
211 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>)
|