vcpkg/ports/aws-sdk-cpp/fix-config.patch
Ahmed Yarub Hani Al Nuaimi 148fba1d1a
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>
2021-11-26 01:20:02 -08:00

13 lines
639 B
Diff

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)