mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 13:31:28 +03:00
Add custom ports not (yet) in upstream vcpkg
aom 3.7.0 libvpx 1.13.1: https://github.com/microsoft/vcpkg/pull/34814 Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
13
res/vcpkg/aom/aom-uninitialized-pointer.diff
Normal file
13
res/vcpkg/aom/aom-uninitialized-pointer.diff
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/build/cmake/aom_configure.cmake b/build/cmake/aom_configure.cmake
|
||||
index aaef2c310..5500ad4a3 100644
|
||||
--- a/build/cmake/aom_configure.cmake
|
||||
+++ b/build/cmake/aom_configure.cmake
|
||||
@@ -309,6 +309,8 @@ if(MSVC)
|
||||
|
||||
# Disable MSVC warnings that suggest making code non-portable.
|
||||
add_compiler_flag_if_supported("/wd4996")
|
||||
+ # Disable MSVC warnings for potentially uninitialized local pointer variable.
|
||||
+ add_compiler_flag_if_supported("/wd4703")
|
||||
if(ENABLE_WERROR)
|
||||
add_compiler_flag_if_supported("/WX")
|
||||
endif()
|
||||
Reference in New Issue
Block a user