diff --git a/.github/workflows/vcpkg.yml b/.github/workflows/vcpkg.yml index 90261569..025e65fc 100644 --- a/.github/workflows/vcpkg.yml +++ b/.github/workflows/vcpkg.yml @@ -33,8 +33,6 @@ jobs: - os: windows-2022 build_type: x86-Debug-VCPKG arch: amd64_x86 - exclude: - # vcpkg.json references xaudio2redist which is not support for arm64 - os: windows-2022 build_type: arm64-Debug-VCPKG arch: amd64_arm64 diff --git a/build/vcpkg.json b/build/vcpkg.json index d0423199..da386650 100644 --- a/build/vcpkg.json +++ b/build/vcpkg.json @@ -2,6 +2,13 @@ "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "dependencies": [ "directxmath", - "xaudio2redist" + { + "name": "directx-dxc", + "host": true + }, + { + "name": "xaudio2redist", + "platform": "windows & !arm" + } ] } \ No newline at end of file