diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2018-09-06 17:02:09 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2018-09-15 15:25:47 (GMT) |
commit | de962cc00d66a5303e42ba7ea2311b131eaefe18 (patch) | |
tree | 9a7510d6f1065522e1c348470c2523207d4fb787 /Source/cmGlobalNinjaGenerator.cxx | |
parent | a10d63d5783275f9972aaa86d41071a1ddca7921 (diff) | |
download | CMake-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.cxx | 2 |
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" |