2022-11-22 01:19:31 +08:00
|
|
|
diff --git a/src/bsoncxx/CMakeLists.txt b/src/bsoncxx/CMakeLists.txt
|
2023-08-18 03:56:00 +08:00
|
|
|
index f30aea836..50610ffb1 100644
|
2022-11-22 01:19:31 +08:00
|
|
|
--- a/src/bsoncxx/CMakeLists.txt
|
|
|
|
+++ b/src/bsoncxx/CMakeLists.txt
|
2023-08-18 03:56:00 +08:00
|
|
|
@@ -215,6 +215,9 @@ if(BSONCXX_BUILD_STATIC)
|
2022-11-22 01:19:31 +08:00
|
|
|
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()
|
2023-08-18 03:56:00 +08:00
|
|
|
if(BSONCXX_POLY_USE_BOOST)
|
|
|
|
set(bsoncxx_boost_pkg_dep "find_dependency(Boost 1.56.0 REQUIRED)")
|