diff options
-rw-r--r-- | ci/build.ps1 | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |