summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2018-09-06 17:02:09 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2018-09-15 15:25:47 (GMT)
commitde962cc00d66a5303e42ba7ea2311b131eaefe18 (patch)
tree9a7510d6f1065522e1c348470c2523207d4fb787 /Source/cmGlobalNinjaGenerator.cxx
parenta10d63d5783275f9972aaa86d41071a1ddca7921 (diff)
downloadCMake-de962cc00d66a5303e42ba7ea2311b131eaefe18.zip
CMake-de962cc00d66a5303e42ba7ea2311b131eaefe18.tar.gz
CMake-de962cc00d66a5303e42ba7ea2311b131eaefe18.tar.bz2
CMake: Internally uses -S instead of -H to specify source directory
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index 0c80910..a21d6dc 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -1340,7 +1340,7 @@ void cmGlobalNinjaGenerator::WriteTargetRebuildManifest(std::ostream& os)
std::ostringstream cmd;
cmd << lg->ConvertToOutputFormat(cmSystemTools::GetCMakeCommand(),
cmOutputConverter::SHELL)
- << " -H"
+ << " -S"
<< lg->ConvertToOutputFormat(lg->GetSourceDirectory(),
cmOutputConverter::SHELL)
<< " -B"