pineapple/externals/vcpkg/ports/mongo-cxx-driver/fix-dependencies.patch

12 lines
433 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
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")