Skip to content

Commit ab78fa9

Browse files
authored
Use PowerShell 5 to create vcpkg port overlay
PowerShell 7 is installed by tests, so it might not be available during vcpkg build
1 parent 2f4f2cf commit ab78fa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vcpkg.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
parallel-build serialization live in CreatePortOverlay.ps1 itself. -->
5959
<Target Name="CreateVcpkgPortOverlay"
6060
BeforeTargets="VcpkgInstallManifestDependencies">
61-
<Exec Command="pwsh.exe -ExecutionPolicy Bypass -File &quot;$(MSBuildThisFileDirectory)VcpkgPortOverlay\CreatePortOverlay.ps1&quot; -StampFile &quot;$(MSBuildThisFileDirectory)VcpkgPortOverlay\.created&quot;" />
61+
<Exec Command="powershell.exe -ExecutionPolicy Bypass -File &quot;$(MSBuildThisFileDirectory)VcpkgPortOverlay\CreatePortOverlay.ps1&quot; -StampFile &quot;$(MSBuildThisFileDirectory)VcpkgPortOverlay\.created&quot;" />
6262
</Target>
6363

6464
<Target Name="EnsureNoTripletMismatch"

0 commit comments

Comments
 (0)