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:
Ahmed Yarub Hani Al Nuaimi 2021-11-26 06:20:02 -03:00 committed by GitHub
parent d6bd10b9af
commit 148fba1d1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 2 deletions

View 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)

View File

@ -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
)

View File

@ -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",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f3e8e88a0bf271817cd42083f58070df1a006603",
"version": "1.9.96",
"port-version": 6
},
{
"git-tree": "2da283f5bdb07366001a8b14674c0961ac173566",
"version": "1.9.96",

View File

@ -306,7 +306,7 @@
},
"aws-sdk-cpp": {
"baseline": "1.9.96",
"port-version": 5
"port-version": 6
},
"azmq": {
"baseline": "2020-03-03",