mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 04:29:10 +08:00
55322d464e
* added ignore 4703 warning to fix uwp builds * [protobuf] Bump version to include patchfile
13 lines
527 B
Diff
13 lines
527 B
Diff
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
|
|
index 3afe376..1a0b6a7 100644
|
|
--- a/cmake/CMakeLists.txt
|
|
+++ b/cmake/CMakeLists.txt
|
|
@@ -151,6 +151,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)
|