Skip to content

Commit 9ab3611

Browse files
authored
lowercase ARM64 for vcpkg (microsoft#6256)
## 📖 Description Force the vcpkg triplet platform to be lowercase for `ARM64`.
1 parent f1eb816 commit 9ab3611

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/vcpkg.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<PropertyGroup Label="Vcpkg">
44
<VcpkgEnableManifest>true</VcpkgEnableManifest>
55
<VcpkgInstalledDir>$(MSBuildThisFileDirectory)vcpkg_installed\</VcpkgInstalledDir>
6-
<!-- Note: For x86, the platform is x86 when building the solution meta-project, and Win32 when building individual projects. -->
6+
<!-- Note: For x86, the platform is x86 when building the solution meta-project, and Win32 when building individual projects.
7+
When building for ARM64, the VCPKG platform must be lowercased: arm64. -->
78
<_VcpkgTripletPlatform>$(Platform)</_VcpkgTripletPlatform>
89
<_VcpkgTripletPlatform Condition="'$(Platform)'=='Win32'">x86</_VcpkgTripletPlatform>
10+
<_VcpkgTripletPlatform Condition="'$(Platform)'=='ARM64'">arm64</_VcpkgTripletPlatform>
911
</PropertyGroup>
1012
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)'=='Debug'">
1113
<VcpkgTriplet>$(_VcpkgTripletPlatform)</VcpkgTriplet>

0 commit comments

Comments
 (0)