Skip to content

Commit 79983ad

Browse files
authored
Avoid passing incompatible argument to ninja in build.ps1 (#5038)
1 parent 930f65e commit 79983ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ function CMake-Build {
545545
}
546546
if ($IsWindows) {
547547
$Arguments += " --config " + $Config
548-
} else {
548+
} elseif (@("", "Unix Makefiles") -contains $Generator) {
549549
$Arguments += " -- VERBOSE=1"
550550
}
551551

0 commit comments

Comments
 (0)