"Release"->"release" to avoid case-sensitivity issues

Fixes #3641
This commit is contained in:
Alexander Karatarakis 2018-06-04 12:34:19 -07:00
parent 3fc54807cb
commit edfca67857

View File

@ -294,7 +294,7 @@ $windowsSDK = getWindowsSDK
$arguments = (
"`"/p:VCPKG_VERSION=-nohash`"",
"`"/p:DISABLE_METRICS=$disableMetrics`"",
"/p:Configuration=Release",
"/p:Configuration=release",
"/p:Platform=x86",
"/p:PlatformToolset=$platformToolset",
"/p:TargetPlatformVersion=$windowsSDK",
@ -325,6 +325,7 @@ function vcpkgInvokeCommandClean()
# vcpkgInvokeCommandClean cmd "/c echo %PATH%"
Write-Host "`nBuilding vcpkg.exe ...`n"
Write-Host $arguments
$ec = vcpkgInvokeCommandClean $msbuildExe $arguments
if ($ec -ne 0)
@ -336,5 +337,5 @@ Write-Host "`nBuilding vcpkg.exe... done.`n"
Write-Verbose("Placing vcpkg.exe in the correct location")
Copy-Item $vcpkgSourcesPath\Release\vcpkg.exe $vcpkgRootDir\vcpkg.exe | Out-Null
Copy-Item $vcpkgSourcesPath\Release\vcpkgmetricsuploader.exe $vcpkgRootDir\scripts\vcpkgmetricsuploader.exe | Out-Null
Copy-Item $vcpkgSourcesPath\release\vcpkg.exe $vcpkgRootDir\vcpkg.exe | Out-Null
Copy-Item $vcpkgSourcesPath\release\vcpkgmetricsuploader.exe $vcpkgRootDir\scripts\vcpkgmetricsuploader.exe | Out-Null