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

12 lines
333 B
Diff
Raw Normal View History

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 40cd480..08cd37f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -13,5 +13,6 @@
# limitations under the License.
add_definitions(-DMONGO_CXX_DRIVER_COMPILING)
+add_definitions(-D_SCL_SECURE_NO_WARNINGS)
add_subdirectory(bsoncxx)
add_subdirectory(mongocxx)