From c84b86fe3dce633b551dc395d2c07ff40e6fb42c Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sat, 30 Oct 2021 11:49:15 -0400 Subject: ci: make sure choco cpack does not interfere with CMake cpack [skip ci] --- ci/build.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/build.ps1 b/ci/build.ps1 index 8876ac31ef..a8b67c485b 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -170,6 +170,9 @@ if (-not $NoTests) { } } +# Ensure choco's cpack is not in PATH otherwise, it conflicts with CMake's +Remove-Item -Path $env:ChocolateyInstall\bin\cpack.exe -Force + # Build artifacts cpack -G ZIP -C RelWithDebInfo if ($env:APPVEYOR_REPO_TAG_NAME -ne $null) { -- cgit