diff options
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmLocalNinjaGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx index a4e66e4..cf0e36a 100644 --- a/Source/cmLocalNinjaGenerator.cxx +++ b/Source/cmLocalNinjaGenerator.cxx @@ -294,7 +294,11 @@ std::string cmLocalNinjaGenerator::BuildCommandLine( // This happens when building a POST_BUILD value for link targets that // don't use POST_BUILD. if (cmdLines.empty()) +#ifdef _WIN32 + return "cd."; +#else return ":"; +#endif // TODO: This will work only on Unix platforms. I don't // want to use a link.txt file because I will lose the benefit of the |