mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 15:29:06 +08:00
e819a7d0ae
* Update and cleanup * Fix C++14 guard for MSVC * Force mongo-cxx-driver feature boost in CI
15 lines
567 B
Diff
15 lines
567 B
Diff
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}")
|
|
|