vcpkg/ports/mongo-cxx-driver/disable-c2338-mongo-cxx-driver.patch

12 lines
364 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a019eb1..8ab0f71 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,5 +14,6 @@
add_definitions(-DMONGO_CXX_DRIVER_COMPILING)
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
+add_definitions(-D_DISABLE_EXTENDED_ALIGNED_STORAGE)
add_subdirectory(bsoncxx)
add_subdirectory(mongocxx)