diff options
author | Mark O'Neill <moneill@cayan.com> | 2018-12-04 12:21:42 (GMT) |
---|---|---|
committer | Mark O'Neill <moneill@cayan.com> | 2018-12-06 16:01:24 (GMT) |
commit | 2295040e85321911d65bd36704560725d9c2ad27 (patch) | |
tree | f9f8cfe4b5a43c4a17f612f8fe5cee5ad61efaa3 /Source | |
parent | 81bea69bd1d52977c3782d26560f34563394f487 (diff) | |
download | CMake-2295040e85321911d65bd36704560725d9c2ad27.zip CMake-2295040e85321911d65bd36704560725d9c2ad27.tar.gz CMake-2295040e85321911d65bd36704560725d9c2ad27.tar.bz2 |
cmLocalNinjaGenerator: Propagate failures from batch file back to ninja
Fixes: #18676
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalNinjaGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx index 8a07516..ecea4ea 100644 --- a/Source/cmLocalNinjaGenerator.cxx +++ b/Source/cmLocalNinjaGenerator.cxx @@ -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 |