invoke cmake check with run_always
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
37ce36f130
commit
f6d3cd7345
1 changed files with 2 additions and 1 deletions
|
@ -355,7 +355,8 @@ than building it.
|
||||||
// There are three builds of cmake on windows: MSVC, MinGW, and
|
// There are three builds of cmake on windows: MSVC, MinGW, and
|
||||||
// Cygwin. The Cygwin build does not have generators for Visual
|
// Cygwin. The Cygwin build does not have generators for Visual
|
||||||
// Studio, so detect that here and error.
|
// Studio, so detect that here and error.
|
||||||
let out = command("cmake").arg("--help").run_capture_stdout(build).stdout();
|
let out =
|
||||||
|
command("cmake").arg("--help").run_always().run_capture_stdout(build).stdout();
|
||||||
if !out.contains("Visual Studio") {
|
if !out.contains("Visual Studio") {
|
||||||
panic!(
|
panic!(
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Reference in a new issue