vcpkg/ports/mongo-cxx-driver/fix-dependencies.patch
bucurb 68c63203e6
[libbson] [mongo-c-driver] [mongo-cxx-driver] Updated to latest (#18751)
* 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>
2021-10-26 22:31:19 -07:00

12 lines
433 B
Diff

diff --git a/src/bsoncxx/cmake/bsoncxx-config.cmake.in b/src/bsoncxx/cmake/bsoncxx-config.cmake.in
index 768f3dde6..6dc7f064b 100644
--- a/src/bsoncxx/cmake/bsoncxx-config.cmake.in
+++ b/src/bsoncxx/cmake/bsoncxx-config.cmake.in
@@ -1,3 +1,6 @@
include(CMakeFindDependencyMacro)
@BSONCXX_PKG_DEP@
+if("@Boost_FOUND@")
+ find_dependency(Boost 1.56.0 REQUIRED)
+endif()
include("${CMAKE_CURRENT_LIST_DIR}/bsoncxx_targets.cmake")