mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 02:39:06 +08:00
2b7370d1c0
* [libbjson] update port to v1.24.3 * update version * [libbson] add patch * update version * [mongo-c-driver] update port to v1.24.3 * update hash * [mongo-cxx-driver] update port to r3.8.0 * update hash
15 lines
606 B
Diff
15 lines
606 B
Diff
diff --git a/src/bsoncxx/CMakeLists.txt b/src/bsoncxx/CMakeLists.txt
|
|
index f30aea836..50610ffb1 100644
|
|
--- a/src/bsoncxx/CMakeLists.txt
|
|
+++ b/src/bsoncxx/CMakeLists.txt
|
|
@@ -215,6 +215,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()
|
|
if(BSONCXX_POLY_USE_BOOST)
|
|
set(bsoncxx_boost_pkg_dep "find_dependency(Boost 1.56.0 REQUIRED)")
|