mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[aws-crt-cpp] no werror et al (#28520)
This commit is contained in:
parent
c9fc882384
commit
c8ed4ef67d
16
ports/aws-crt-cpp/no-werror.patch
Normal file
16
ports/aws-crt-cpp/no-werror.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a1a7964..7a5b1a5 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -293,9 +293,9 @@ if (CMAKE_BUILD_TYPE STREQUAL "" OR CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE "-DDEBUG_BUILD")
|
||||
#set extra warning flags for debug build
|
||||
if (MSVC)
|
||||
- target_compile_options(${PROJECT_NAME} PRIVATE /W4 /WX /wd4068)
|
||||
+ target_compile_options(${PROJECT_NAME} PRIVATE /W4 /wd4068)
|
||||
else ()
|
||||
- target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-long-long -pedantic -Werror)
|
||||
+ target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-long-long -pedantic)
|
||||
endif ()
|
||||
endif ()
|
||||
|
@ -6,6 +6,7 @@ vcpkg_from_github(
|
||||
PATCHES
|
||||
fix-cmake-target-path.patch
|
||||
fix-ios-build.patch
|
||||
no-werror.patch
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_CRT)
|
||||
|
@ -1,9 +1,10 @@
|
||||
{
|
||||
"name": "aws-crt-cpp",
|
||||
"version": "0.15.1",
|
||||
"port-version": 3,
|
||||
"description": "Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations.",
|
||||
"port-version": 4,
|
||||
"description": "C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.",
|
||||
"homepage": "https://github.com/awslabs/aws-crt-cpp",
|
||||
"license": "Apache-2.0",
|
||||
"supports": "!(windows & arm) & !uwp",
|
||||
"dependencies": [
|
||||
"aws-c-auth",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2247bebb1109b41b4a27e18d2c91812d23dfe55d",
|
||||
"version": "0.15.1",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "e542ffdad6392c75909a3235d33c2a22c939c980",
|
||||
"version": "0.15.1",
|
||||
|
@ -330,7 +330,7 @@
|
||||
},
|
||||
"aws-crt-cpp": {
|
||||
"baseline": "0.15.1",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"aws-lambda-cpp": {
|
||||
"baseline": "0.2.7",
|
||||
|
Loading…
x
Reference in New Issue
Block a user