vcpkg/ports/protobuf/fix-uwp.patch
Jozef Izso e6c6d96218
[protobuf] protobuf v3.12.0 (#11397)
* [protobuf] protobuf v3.12.0

* Fix ignition-msg5 library to compile with protobuf 3.12
2020-05-19 15:09:01 -07:00

13 lines
531 B
Diff

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 849679995..dba537a68 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -198,6 +198,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)