mirror of https://github.com/microsoft/vcpkg.git
added ignore 4703 warning to fix uwp builds (#3279)
* added ignore 4703 warning to fix uwp builds * [protobuf] Bump version to include patchfile
This commit is contained in:
parent
897eaf436f
commit
55322d464e
|
|
@ -1,5 +1,5 @@
|
|||
Source: protobuf
|
||||
Version: 3.5.1-3
|
||||
Version: 3.5.1-4
|
||||
Description: Protocol Buffers - Google's data interchange format
|
||||
|
||||
Feature: zlib
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
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)
|
||||
|
|
@ -19,6 +19,7 @@ vcpkg_apply_patches(
|
|||
"${CMAKE_CURRENT_LIST_DIR}/001-add-compiler-flag.patch"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/export-ParseGeneratorParameter.patch"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/js-embed.patch"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/fix-uwp.patch"
|
||||
)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
|
|
|
|||
Loading…
Reference in New Issue