mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[vcpkg-applocal] Ensure log for copied DLLs is created, even when no DLLs are copied.
This fixes a bug which caused all non-vcpkg-using builds to be considered out of date.
This commit is contained in:
parent
9775cfff1d
commit
ff639ecc02
@ -5,6 +5,12 @@ $g_searched = @{}
|
||||
# Note: installedDir is actually the bin\ directory.
|
||||
$g_install_root = Split-Path $installedDir -parent
|
||||
|
||||
# Ensure we create the copied files log, even if we don't end up copying any files
|
||||
if ($copiedFilesLog)
|
||||
{
|
||||
Set-Content -Path $copiedFilesLog -Value "" -Encoding Ascii
|
||||
}
|
||||
|
||||
# Note: this function signature is depended upon by the qtdeploy.ps1 script introduced in 5.7.1-7
|
||||
function deployBinary([string]$targetBinaryDir, [string]$SourceDir, [string]$targetBinaryName) {
|
||||
if (Test-Path "$targetBinaryDir\$targetBinaryName") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user