ci: make sure choco cpack does not interfere with CMake cpack

[skip ci]
This commit is contained in:
James McCoy
2021-10-30 14:02:04 -04:00
parent c819ce1fd4
commit c84b86fe3d
+3
View File
@@ -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) {