mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-04 04:03:22 +03:00
cmLocalNinjaGenerator: Propagate failures from batch file back to ninja
Fixes: #18676
This commit is contained in:
1 parent
81bea69bd1
commit
2295040e85
1 file changed
+1
-1
@@ -329,7 +329,7 @@ std::string cmLocalNinjaGenerator::WriteCommandScript(
|
||||
// for the raw shell script.
|
||||
cmSystemTools::ReplaceString(cmd, "$$", "$");
|
||||
#ifdef _WIN32
|
||||
script << cmd << " || exit /b" << '\n';
|
||||
script << cmd << " || exit /b 1" << '\n';
|
||||
#else
|
||||
script << cmd << '\n';
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user