vcpkg/ports/libbson/fix-static-cmake.patch
bucurb 68c63203e6
[libbson] [mongo-c-driver] [mongo-cxx-driver] Updated to latest (#18751)
* get latest version

* libbson 1.17.6

* Updated patches

* bson sha

* Mongoc upgraded to 1.17.6

* updated sha

* Updated mongoc to latest

* updated sha

* upgraded mongo-cxx

* manifest fix

* updated sha

* PR comments

* updated sha

* fixed missing dependency. deleted unused patch

* sha

* PR comments

* sha

* Use modern cmake helpers for mongo-cxx-driver.

* Rebuild version database.

Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-10-26 22:31:19 -07:00

14 lines
575 B
Diff

diff --git a/src/libbson/build/cmake/libbson-static-1.0-config.cmake.in b/src/libbson/build/cmake/libbson-static-1.0-config.cmake.in
index 92933fe01..931a829ae 100644
--- a/src/libbson/build/cmake/libbson-static-1.0-config.cmake.in
+++ b/src/libbson/build/cmake/libbson-static-1.0-config.cmake.in
@@ -36,3 +36,7 @@ foreach (LIB @LIBBSON_LIBRARIES@)
endforeach ()
set (BSON_STATIC_DEFINITIONS BSON_STATIC)
+
+set (BSON_LIBRARIES ${BSON_STATIC_LIBRARIES})
+set (BSON_INCLUDE_DIRS ${BSON_STATIC_INCLUDE_DIRS})
+set (BSON_DEFINITIONS BSON_STATIC)
\ No newline at end of file