aboutsummaryrefslogtreecommitdiff
path: root/ports/aws-crt-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-crt-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-crt-cpp')
-rw-r--r--ports/aws-crt-cpp/portfile.cmake11
-rw-r--r--ports/aws-crt-cpp/vcpkg.json1
2 files changed, 6 insertions, 6 deletions
diff --git a/ports/aws-crt-cpp/portfile.cmake b/ports/aws-crt-cpp/portfile.cmake
index 7dc30421a..ffef30e94 100644
--- a/ports/aws-crt-cpp/portfile.cmake
+++ b/ports/aws-crt-cpp/portfile.cmake
@@ -4,14 +4,14 @@ vcpkg_from_github(
REF 9ef58ff20df19e613c91c5f761e381c763da6810 # v0.15.1
SHA512 3409b3e6a546ed585b90180807383e8731b36b0db149b5ff92701a43164c4282b1cea4a551bf4c7b1edec7b264098575cf919faee8a2520bb10bbae62258d463
PATCHES
- fix-cmake-target-path.patch
+ fix-cmake-target-path.patch
)
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_CRT)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
- PREFER_NINJA
+ DISABLE_PARALLEL_CONFIGURE
OPTIONS
"-DSTATIC_CRT=${STATIC_CRT}"
"-DBUILD_DEPS=OFF"
@@ -35,14 +35,13 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
endif()
file(REMOVE_RECURSE
- "${CURRENT_PACKAGES_DIR}/debug/include"
- "${CURRENT_PACKAGES_DIR}/debug/lib/aws-crt-cpp"
- "${CURRENT_PACKAGES_DIR}/lib/aws-crt-cpp"
+ "${CURRENT_PACKAGES_DIR}/debug/include"
+ "${CURRENT_PACKAGES_DIR}/debug/lib/aws-crt-cpp"
+ "${CURRENT_PACKAGES_DIR}/lib/aws-crt-cpp"
)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
-# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/aws-crt-cpp/vcpkg.json b/ports/aws-crt-cpp/vcpkg.json
index 6112538db..fb109b1a4 100644
--- a/ports/aws-crt-cpp/vcpkg.json
+++ b/ports/aws-crt-cpp/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "aws-crt-cpp",
"version": "0.15.1",
+ "port-version": 1,
"description": "Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations.",
"homepage": "https://github.com/awslabs/aws-crt-cpp",
"supports": "!arm & !uwp",