mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
Fix building AWS SDK for C++ with CMake 3.22.0 (#21668)
* Fix AWS SDK for C++ configuration * Update versions Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
This commit is contained in:
parent
d6bd10b9af
commit
148fba1d1a
12
ports/aws-sdk-cpp/fix-config.patch
Normal file
12
ports/aws-sdk-cpp/fix-config.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/cmake/AWSSDKConfig.cmake b/cmake/AWSSDKConfig.cmake
|
||||
--- a/cmake/AWSSDKConfig.cmake (revision e2d3e09f6f50167bb7886109eb15605eb2a0b578)
|
||||
+++ b/cmake/AWSSDKConfig.cmake (date 1637856904387)
|
||||
@@ -129,7 +129,7 @@
|
||||
get_filename_component(TEMP_PATH "${AWSSDK_CORE_LIB_FILE}" PATH)
|
||||
get_filename_component(TEMP_NAME "${TEMP_PATH}" NAME)
|
||||
|
||||
-while (NOT TEMP_NAME STREQUAL ${LIB_SEARCH_PREFIX})
|
||||
+while (NOT TEMP_NAME STREQUAL "${LIB_SEARCH_PREFIX}")
|
||||
set(TEMP_PLATFORM_PREFIX "${TEMP_NAME}/${TEMP_PLATFORM_PREFIX}")
|
||||
get_filename_component(TEMP_PATH "${TEMP_PATH}" PATH)
|
||||
get_filename_component(TEMP_NAME "${TEMP_PATH}" NAME)
|
@ -6,6 +6,7 @@ vcpkg_from_github(
|
||||
REF b0204a7b6a33211f533a175e987a755f714bf7f3 # 1.9.96
|
||||
SHA512 456d3fc256a5a26843ecf16014242514b165ae5fa35f088d57aa54a744d19e2c38bd0bed9b6a4b76948c8a49cf87a06a4c722be5a910ed41dfd9c9b9a66b398d
|
||||
PATCHES
|
||||
fix-config.patch
|
||||
patch-relocatable-rpath.patch
|
||||
fix-aws-root.patch
|
||||
)
|
||||
|
@ -2,7 +2,7 @@
|
||||
"$note": "Automatically generated by generateFeatures.ps1",
|
||||
"name": "aws-sdk-cpp",
|
||||
"version": "1.9.96",
|
||||
"port-version": 5,
|
||||
"port-version": 6,
|
||||
"description": "AWS SDK for C++",
|
||||
"homepage": "https://github.com/aws/aws-sdk-cpp",
|
||||
"supports": "!arm & !uwp",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f3e8e88a0bf271817cd42083f58070df1a006603",
|
||||
"version": "1.9.96",
|
||||
"port-version": 6
|
||||
},
|
||||
{
|
||||
"git-tree": "2da283f5bdb07366001a8b14674c0961ac173566",
|
||||
"version": "1.9.96",
|
||||
|
@ -306,7 +306,7 @@
|
||||
},
|
||||
"aws-sdk-cpp": {
|
||||
"baseline": "1.9.96",
|
||||
"port-version": 5
|
||||
"port-version": 6
|
||||
},
|
||||
"azmq": {
|
||||
"baseline": "2020-03-03",
|
||||
|
Loading…
x
Reference in New Issue
Block a user