pineapple/externals/vcpkg/ports/mongo-cxx-driver/fix-uwp.patch

13 lines
339 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d1bf5e944..2f7a16aa1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -13,6 +13,7 @@
# limitations under the License.
add_definitions(-DMONGO_CXX_DRIVER_COMPILING)
+add_definitions(-D_SCL_SECURE_NO_WARNINGS)
add_subdirectory(bsoncxx)
add_subdirectory(mongocxx)