vcpkg/ports/protobuf/fix-uwp.patch

13 lines
531 B
Diff
Raw Normal View History

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
2020-08-22 06:45:31 +08:00
index 9ca31ac0b..237468c55 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
2020-08-22 06:45:31 +08:00
@@ -207,6 +207,7 @@ if (MSVC)
/wd4506 # no definition for inline function 'function'
/wd4800 # 'type' : forcing value to bool 'true' or 'false' (performance warning)
/wd4996 # The compiler encountered a deprecated declaration.
+ /wd4703 # Potentially uninitialized local pointer variable 'name' used.
)
# Allow big object
add_definitions(/bigobj)