mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Installing cmake instead of cmake.portable (#1840)
This commit is contained in:
1 parent
718ceb5a6c
commit
71ae1a69f7
1 file changed
+2
-2
+2
-2
@@ -127,7 +127,7 @@ function Start-PSBuild {
|
||||
$env:NUGET_PACKAGES="$PSScriptRoot\Packages"
|
||||
|
||||
# cmake is needed to build powershell.exe
|
||||
$precheck = $precheck -and (precheck 'cmake' 'cmake not found. Run Start-PSBootstrap. You can also install it from https://chocolatey.org/packages/cmake.portable')
|
||||
$precheck = $precheck -and (precheck 'cmake' 'cmake not found. Run Start-PSBootstrap. You can also install it from https://chocolatey.org/packages/cmake')
|
||||
|
||||
Use-MSBuild
|
||||
|
||||
@@ -788,7 +788,7 @@ function Start-PSBootstrap {
|
||||
log "Cmake is already installed. Skipping installation."
|
||||
} else {
|
||||
log "Cmake not present. Installing cmake."
|
||||
choco install cmake.portable -y --version 3.6.0
|
||||
choco install cmake -y --version 3.6.0
|
||||
if (-not ($machinePath.ToLower().Contains($cmakePath.ToLower()))) {
|
||||
log "Adding $cmakePath to Path environment variable"
|
||||
$env:Path += ";$cmakePath"
|
||||
|
||||
Reference in new issue
Block a user