mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
e819a7d0ae
* Update and cleanup * Fix C++14 guard for MSVC * Force mongo-cxx-driver feature boost in CI
8 lines
389 B
Plaintext
8 lines
389 B
Plaintext
mongo-cxx-driver provides CMake targets:
|
|
|
|
find_package(bsoncxx CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mongo::bsoncxx_static>,mongo::bsoncxx_static,mongo::bsoncxx_shared>)
|
|
|
|
find_package(mongocxx CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mongo::mongocxx_static>,mongo::mongocxx_static,mongo::mongocxx_shared>)
|