summaryrefslogtreecommitdiffstats
path: root/Source/cmcldeps.cxx
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-10 19:27:25 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-10 19:27:25 (GMT)
commit4db9dd89df2cc21747c65383b197efb9ca5cba4d (patch)
tree9a173670ecadf3aab5cfd3cbdef8df5dae40b4df /Source/cmcldeps.cxx
parentba8d0db217399dede6d897c928b4dbf52e7e141b (diff)
downloadCMake-4db9dd89df2cc21747c65383b197efb9ca5cba4d.zip
CMake-4db9dd89df2cc21747c65383b197efb9ca5cba4d.tar.gz
CMake-4db9dd89df2cc21747c65383b197efb9ca5cba4d.tar.bz2
Ninja: use slahes in .d files
Diffstat (limited to 'Source/cmcldeps.cxx')
-rw-r--r--Source/cmcldeps.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx
index 9aa94d3..ac1c49a7 100644
--- a/Source/cmcldeps.cxx
+++ b/Source/cmcldeps.cxx
@@ -576,7 +576,7 @@ static void outputDepFile(const string& dfile, const string& objfile,
for (vector<string>::iterator i(incs.begin()); i != incs.end(); ++i) {
tmp = *i;
- doEscape(tmp, "\\", "\\\\");
+ doEscape(tmp, "\\", "/");
doEscape(tmp, " ", "\\ ");
//doEscape(tmp, "(", "("); // TODO ninja cant read ( and )
//doEscape(tmp, ")", ")");