2022-11-21 18:19:31 +01:00
|
|
|
diff --git a/src/bsoncxx/CMakeLists.txt b/src/bsoncxx/CMakeLists.txt
|
|
|
|
index d87d588..16ba095 100644
|
|
|
|
--- a/src/bsoncxx/CMakeLists.txt
|
|
|
|
+++ b/src/bsoncxx/CMakeLists.txt
|
|
|
|
@@ -218,6 +221,9 @@ if(BSONCXX_BUILD_STATIC)
|
|
|
|
bsoncxx_install_deprecated_cmake(bsoncxx-static)
|
|
|
|
list(APPEND bsoncxx_target_list bsoncxx_static)
|
|
|
|
set(bsoncxx_pkg_dep "find_dependency(bson-1.0 REQUIRED)")
|
|
|
|
+ if(BSONCXX_POLY_USE_BOOST)
|
|
|
|
+ string(APPEND bsoncxx_pkg_dep "\nfind_dependency(Boost)")
|
|
|
|
+ endif()
|
|
|
|
endif()
|
|
|
|
bsoncxx_install("${bsoncxx_target_list}" "${bsoncxx_pkg_dep}")
|
|
|
|
|