From ab0c28a42ff5a9dee03f46211c0391ab5ef5e573 Mon Sep 17 00:00:00 2001 From: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> Date: Fri, 3 Nov 2023 12:42:52 -0700 Subject: [PATCH] Accurate vcpkg feature availability for winhttp (#5114) * Accurate vcpkg feature availability for winhttp --------- Co-authored-by: Anton Kolesnyk --- sdk/core/azure-core/vcpkg.json | 8 +++----- sdk/core/azure-core/vcpkg/vcpkg.json | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sdk/core/azure-core/vcpkg.json b/sdk/core/azure-core/vcpkg.json index f3168e17f..a91a23256 100644 --- a/sdk/core/azure-core/vcpkg.json +++ b/sdk/core/azure-core/vcpkg.json @@ -13,10 +13,6 @@ { "name": "vcpkg-cmake-config", "host": true - }, - { - "name": "wil", - "platform": "windows" } ], "default-features": [ @@ -62,11 +58,13 @@ }, "winhttp": { "description": "WinHTTP HTTP transport implementation", + "supports": "windows & !uwp", "dependencies": [ { "name": "azure-core-cpp", "default-features": false - } + }, + "wil" ] } } diff --git a/sdk/core/azure-core/vcpkg/vcpkg.json b/sdk/core/azure-core/vcpkg/vcpkg.json index b78d8e725..1088a6f9e 100644 --- a/sdk/core/azure-core/vcpkg/vcpkg.json +++ b/sdk/core/azure-core/vcpkg/vcpkg.json @@ -68,7 +68,7 @@ }, "winhttp": { "description": "WinHTTP HTTP transport implementation", - "supports": "windows", + "supports": "windows & !uwp", "dependencies": [ { "name": "azure-core-cpp",