mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 04:59:01 +08:00
b224213946
* [curl] Update to 7.86.0 * [azure-core-cpp] Add missing Ws2_32.lib. Filed upstream as https://github.com/Azure/azure-sdk-for-cpp/pull/4127 * [aws-sdk-cpp] Lock the selected curl features. Co-authored-by: FrankXie <v-frankxie@microsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
29 lines
860 B
CMake
29 lines
860 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Azure/azure-sdk-for-cpp
|
|
REF azure-core_1.7.2
|
|
SHA512 f24d02bf34f8be665e08a9a2799498f78daf6103a0ac5c10d79dc6b7b4461dac8ea2f91088e11bc90d0c74b59a59dc1e6361ad053718fb6da6a0691a9ac314a6
|
|
PATCHES
|
|
add-ws232.patch # https://github.com/Azure/azure-sdk-for-cpp/pull/4127
|
|
)
|
|
|
|
vcpkg_check_features(
|
|
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
curl BUILD_TRANSPORT_CURL
|
|
winhttp BUILD_TRANSPORT_WINHTTP
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
|
|
OPTIONS
|
|
${FEATURE_OPTIONS}
|
|
-DWARNINGS_AS_ERRORS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
vcpkg_cmake_config_fixup()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
vcpkg_copy_pdbs()
|