vcpkg/ports/quill/fix-c4189-warning.patch

16 lines
361 B
Diff

diff --git a/quill/CMakeLists.txt b/quill/CMakeLists.txt
index 76872c2..c173804 100644
--- a/quill/CMakeLists.txt
+++ b/quill/CMakeLists.txt
@@ -148,6 +148,10 @@ if (QUILL_NO_EXCEPTIONS)
endif ()
endif ()
+if (MSVC)
+ add_definitions(/wd4189)
+endif()
+
# Add target sources
target_sources(${TARGET_NAME} PRIVATE ${SOURCE_FILES} ${HEADER_FILES})