mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Ignore warning C5287 for libusb build
This commit is contained in:
parent
b3f38851b6
commit
92616bed6b
2
.github/scripts/Build-Deps-Windows.ps1
vendored
2
.github/scripts/Build-Deps-Windows.ps1
vendored
|
|
@ -209,7 +209,9 @@ function Build {
|
|||
$msbuildExe = vswhere -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe | select-object -first 1
|
||||
|
||||
if ($msbuildExe) {
|
||||
$env:CL="/wd5287"
|
||||
Invoke-External $msbuildExe "${LibusbPath}/msvc/libusb.sln" /property:Configuration=Release /property:Platform=x64
|
||||
Remove-Item Env:CL
|
||||
|
||||
$libusbBuildResultDirectory = "${LibusbPath}/build/v143/x64/Release"
|
||||
if (-not (Test-Path -Path $libusbBuildResultDirectory)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user