From d686e934ace95dd32a35f642b763feea626120b1 Mon Sep 17 00:00:00 2001 From: MistEO Date: Wed, 16 Oct 2024 23:52:01 +0800 Subject: [PATCH] fix: update dml --- vcpkg-overlay/ports/directml-bin/portfile.cmake | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/vcpkg-overlay/ports/directml-bin/portfile.cmake b/vcpkg-overlay/ports/directml-bin/portfile.cmake index 4c378ff..3b196ec 100644 --- a/vcpkg-overlay/ports/directml-bin/portfile.cmake +++ b/vcpkg-overlay/ports/directml-bin/portfile.cmake @@ -1,11 +1,9 @@ vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) -set(VERSION 1.5.1) - vcpkg_download_distfile(ARCHIVE - URLS "https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.14.1" - FILENAME "Microsoft.AI.DirectML.1.14.1.nupkg" - SHA512 362be04b10c5a443250909e0d57b2dc3e0e709e0651578cfea8a702e2d295b78d3d058533e728d1edd61963750c76359552dd02b1a66e8a55635347b73796637 + URLS "https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/${VERSION}" + FILENAME "Microsoft.AI.DirectML.${VERSION}.nupkg" + SKIP_SHA512 ) vcpkg_extract_source_archive(