summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-07-01 22:01:41 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-07-01 22:01:41 (GMT)
commit0c42faf63acadf320ea6371d42d03386e1c20176 (patch)
tree24b54fb4d81b3cd6376aa981bf830d58e4e5b411 /Source/cmLocalNinjaGenerator.cxx
parentba41a238f708da78d0f053bfba1e7d9c70369a16 (diff)
downloadCMake-0c42faf63acadf320ea6371d42d03386e1c20176.zip
CMake-0c42faf63acadf320ea6371d42d03386e1c20176.tar.gz
CMake-0c42faf63acadf320ea6371d42d03386e1c20176.tar.bz2
Ninja: also consider variables when checking command line length
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 9a496f2..ea9c406 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -272,7 +272,7 @@ std::string cmLocalNinjaGenerator::BuildCommandLine(
// don't use POST_BUILD.
if (cmdLines.empty())
#ifdef _WIN32
- return "cd.";
+ return "cd .";
#else
return ":";
#endif