aboutsummaryrefslogtreecommitdiff
path: root/ports/aws-sdk-cpp
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2021-09-17 01:35:18 +0800
committerGitHub <noreply@github.com>2021-09-16 10:35:18 -0700
commit0aa142284922ebf60007c42dabead5fb8101a846 (patch)
treef87edbaad32c7fedeacefe70b57f3287fa7fae1d /ports/aws-sdk-cpp
parente14842c4462c5d3542b58dcc3de742139da06979 (diff)
downloadvcpkg-0aa142284922ebf60007c42dabead5fb8101a846.tar.gz
vcpkg-0aa142284922ebf60007c42dabead5fb8101a846.zip
[aws-crt-cpp/aws-sdk-cpp] Disable parallel configure (#20189)
Diffstat (limited to 'ports/aws-sdk-cpp')
-rw-r--r--ports/aws-sdk-cpp/portfile.cmake7
-rw-r--r--ports/aws-sdk-cpp/vcpkg.json1
2 files changed, 4 insertions, 4 deletions
diff --git a/ports/aws-sdk-cpp/portfile.cmake b/ports/aws-sdk-cpp/portfile.cmake
index c9c44a800..66cc714a6 100644
--- a/ports/aws-sdk-cpp/portfile.cmake
+++ b/ports/aws-sdk-cpp/portfile.cmake
@@ -45,7 +45,7 @@ foreach(TARGET IN LISTS BUILD_ONLY)
message(STATUS "Building ${TARGET}")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
- PREFER_NINJA
+ DISABLE_PARALLEL_CONFIGURE
OPTIONS
${EXTRA_ARGS}
"-DENABLE_UNITY_BUILD=ON"
@@ -99,10 +99,9 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
file(REMOVE ${DEBUG_LIB_FILES})
endif()
- file(APPEND ${CURRENT_PACKAGES_DIR}/include/aws/core/SDKConfig.h "#ifndef USE_IMPORT_EXPORT\n#define USE_IMPORT_EXPORT\n#endif")
+ file(APPEND "${CURRENT_PACKAGES_DIR}/include/aws/core/SDKConfig.h" "#ifndef USE_IMPORT_EXPORT\n#define USE_IMPORT_EXPORT\n#endif")
endif()
-configure_file(${CURRENT_PORT_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
+configure_file("${CURRENT_PORT_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY)
-# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/aws-sdk-cpp/vcpkg.json b/ports/aws-sdk-cpp/vcpkg.json
index cc17dfcb3..3007b888b 100644
--- a/ports/aws-sdk-cpp/vcpkg.json
+++ b/ports/aws-sdk-cpp/vcpkg.json
@@ -2,6 +2,7 @@
"$note": "Automatically generated by generateFeatures.ps1",
"name": "aws-sdk-cpp",
"version": "1.9.96",
+ "port-version": 1,
"description": "AWS SDK for C++",
"homepage": "https://github.com/aws/aws-sdk-cpp",
"supports": "!arm & !uwp",