summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-14 13:02:40 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-14 13:02:40 (GMT)
commit03622ee2d0947b01a56527ea34cbe43fb9c8eba6 (patch)
tree550d4c422f82baf0a7f2fd1e69b85f3606b954cb
parentf0579e2fda1922f32efbf3e2b160cc004aafd99a (diff)
parent9977899df2c6c7687353882eff01150546ef42a9 (diff)
downloadCMake-03622ee2d0947b01a56527ea34cbe43fb9c8eba6.zip
CMake-03622ee2d0947b01a56527ea34cbe43fb9c8eba6.tar.gz
CMake-03622ee2d0947b01a56527ea34cbe43fb9c8eba6.tar.bz2
Merge topic 'ninja-rc-regression'
9977899d Ninja: Fix RC language depfile generation with cmcldeps
-rw-r--r--Source/cmNinjaTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index fb2581d..46a6161 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -427,7 +427,7 @@ void cmNinjaTargetGenerator::WriteCompileRule(const std::string& lang)
: mf->GetSafeDefinition("CMAKE_CXX_COMPILER");
cldeps = "\"";
cldeps += cmSystemTools::GetCMClDepsCommand();
- cldeps += "\" " + lang + " $in \"$DEP_FILE\" $out \"";
+ cldeps += "\" " + lang + " " + vars.Source + " \"$DEP_FILE\" $out \"";
cldeps += mf->GetSafeDefinition("CMAKE_CL_SHOWINCLUDES_PREFIX");
cldeps += "\" \"" + cl + "\" ";
}