diff --git a/make.ps1 b/make.ps1 index b567149355..277819469f 100644 --- a/make.ps1 +++ b/make.ps1 @@ -120,6 +120,13 @@ elseif ($command -eq "dependencies") cp download/windows/*.dll .. cd .. echo "Dependencies copied." + + $dep = "Microsoft Visual C++ 2010" + $results = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | select DisplayName | Where-Object {$_.DisplayName -like $("$dep*")} + if (!($results -is [array]) -and !$results.DisplayName) + { + Write-Host "Warning! Freetype6.dll requires Microsoft Visual C++ 2010 x86 Redistributable!" -Foreground "Red" + } } elseif ($command -eq "test") {