mirror of https://github.com/microsoft/vcpkg.git
[aws-c-common]Upgrade version to 0.3.11 (#6747)
* [aws-c-common]Upgrade version to 0.3.11 * [aws-c-common]Fix dependency port build error. * [aws-c-common]Disable internal crt option because vcpkg contains crt processing flow
This commit is contained in:
parent
2e9ac22921
commit
143ae13d28
|
|
@ -1,3 +1,3 @@
|
|||
Source: aws-c-common
|
||||
Version: 0.3.0
|
||||
Version: 0.3.11
|
||||
Description: AWS common library for C
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
diff --git a/cmake/AwsCFlags.cmake b/cmake/AwsCFlags.cmake
|
||||
index 5ceb11c..9d0aa12 100644
|
||||
--- a/cmake/AwsCFlags.cmake
|
||||
+++ b/cmake/AwsCFlags.cmake
|
||||
@@ -38,15 +38,6 @@ function(aws_set_common_properties target)
|
||||
# Disable unknown pragma warnings
|
||||
list(APPEND AWS_C_FLAGS /wd4068)
|
||||
|
||||
- string(TOUPPER "${CMAKE_BUILD_TYPE}" _CMAKE_BUILD_TYPE)
|
||||
- if(STATIC_CRT)
|
||||
- string(REPLACE "/MD" "/MT" _FLAGS "${CMAKE_C_FLAGS_${_CMAKE_BUILD_TYPE}}")
|
||||
- else()
|
||||
- string(REPLACE "/MT" "/MD" _FLAGS "${CMAKE_C_FLAGS_${_CMAKE_BUILD_TYPE}}")
|
||||
- endif()
|
||||
- string(REPLACE " " ";" _FLAGS "${_FLAGS}")
|
||||
- list(APPEND AWS_C_FLAGS "${_FLAGS}")
|
||||
-
|
||||
else()
|
||||
list(APPEND AWS_C_FLAGS -Wall -Werror -Wstrict-prototypes)
|
||||
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/include/aws/common/byte_buf.h b/include/aws/common/byte_buf.h
|
||||
index 545b06d..c579c82 100644
|
||||
--- a/include/aws/common/byte_buf.h
|
||||
+++ b/include/aws/common/byte_buf.h
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
+#pragma warning(disable: 4068)
|
||||
+
|
||||
/**
|
||||
* Represents a length-delimited binary string or buffer. If byte buffer points
|
||||
* to constant memory or memory that should otherwise not be freed by this
|
||||
|
|
@ -3,9 +3,12 @@ include(vcpkg_common_functions)
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO awslabs/aws-c-common
|
||||
REF v0.3.0
|
||||
SHA512 604b4289f19be662f15dc5ba80c20b78856975332b485796f979580e45f8d778eb8ce0cc2c02dcbaf27bc1159f473e02676cd951b674b7c8478ed26438a04541
|
||||
REF v0.3.11
|
||||
SHA512 da845f748aecfff61209f542f4eac8d46738af52ce980d5c8315397f859429dfd9e4bf989ddf2fbe938d1efb33dce9c531c92cbe53388b1d1082d5caa97e8750
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-dependencey-build-error.patch # This patch fixes dependency port compilation failure
|
||||
disable-internal-crt-option.patch # Disable internal crt option because vcpkg contains crt processing flow
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
|
|
|
|||
Loading…
Reference in New Issue