mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
Inline variable
This commit is contained in:
parent
bc96c069ac
commit
f1653a23d5
@ -41,7 +41,6 @@ while (!($vcpkgRootDir -eq "") -and !(Test-Path "$vcpkgRootDir\.vcpkg-root"))
|
||||
}
|
||||
Write-Verbose "Examining $vcpkgRootDir for .vcpkg-root - Found"
|
||||
|
||||
$gitHash = "nohash"
|
||||
$vcpkgSourcesPath = "$vcpkgRootDir\toolsrc"
|
||||
|
||||
if (!(Test-Path $vcpkgSourcesPath))
|
||||
@ -293,7 +292,7 @@ $platformToolset = $msbuildExeWithPlatformToolset[1]
|
||||
$windowsSDK = getWindowsSDK
|
||||
|
||||
$arguments = (
|
||||
"`"/p:VCPKG_VERSION=-$gitHash`"",
|
||||
"`"/p:VCPKG_VERSION=-nohash`"",
|
||||
"`"/p:DISABLE_METRICS=$disableMetrics`"",
|
||||
"/p:Configuration=Release",
|
||||
"/p:Platform=x86",
|
||||
|
Loading…
x
Reference in New Issue
Block a user