diff options
author | Brad King <brad.king@kitware.com> | 2017-09-27 11:12:09 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-27 11:14:17 (GMT) |
commit | f75ac39692a3ec81f0e553dc4fa72c1b7f4165e7 (patch) | |
tree | 5f73dc27ca51da5656522e664143d649fa5dece5 /Source | |
parent | c4d0939fba384bbaf854c21a5c22ae7c24659ee8 (diff) | |
parent | df965cb9638d589be55daa520c13df32e1afd91d (diff) | |
download | CMake-f75ac39692a3ec81f0e553dc4fa72c1b7f4165e7.zip CMake-f75ac39692a3ec81f0e553dc4fa72c1b7f4165e7.tar.gz CMake-f75ac39692a3ec81f0e553dc4fa72c1b7f4165e7.tar.bz2 |
Merge topic 'ninja-rc-depfile-quoting'
df965cb9 Ninja: Fix quoting of RC language depfile in cmcldeps call
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1309
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index a464d6e..5fb4097 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -438,7 +438,7 @@ void cmNinjaTargetGenerator::WriteCompileRule(const std::string& lang) : mf->GetSafeDefinition("CMAKE_CXX_COMPILER"); cldeps = "\""; cldeps += cmSystemTools::GetCMClDepsCommand(); - cldeps += "\" " + lang + " " + vars.Source + " \"$DEP_FILE\" $out \""; + cldeps += "\" " + lang + " " + vars.Source + " $DEP_FILE $out \""; cldeps += mf->GetSafeDefinition("CMAKE_CL_SHOWINCLUDES_PREFIX"); cldeps += "\" \"" + cl + "\" "; } |