summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGhsMultiGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-12 19:50:22 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-12 19:53:26 (GMT)
commit09bee3bee137af72f57ee10327e4e5f689ce7e90 (patch)
tree1faa9307cc5c12c89949c8f1d461baf0055d15e1 /Source/cmGlobalGhsMultiGenerator.h
parentf69079577a50ab203b6355a22a2e2243f5480628 (diff)
downloadCMake-09bee3bee137af72f57ee10327e4e5f689ce7e90.zip
CMake-09bee3bee137af72f57ee10327e4e5f689ce7e90.tar.gz
CMake-09bee3bee137af72f57ee10327e4e5f689ce7e90.tar.bz2
cmGlobalGhsMultiGenerator: Simplify relative path conversion logic
Our call to `MaybeConvertToRelativePath` uses paths that always pass the "maybe" checks. Use `ForceToRelativePath` directly.
Diffstat (limited to 'Source/cmGlobalGhsMultiGenerator.h')
-rw-r--r--Source/cmGlobalGhsMultiGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.h b/Source/cmGlobalGhsMultiGenerator.h
index 7753b31..bd08301 100644
--- a/Source/cmGlobalGhsMultiGenerator.h
+++ b/Source/cmGlobalGhsMultiGenerator.h
@@ -103,7 +103,7 @@ private:
void WriteSubProjects(std::ostream& fout, std::string& all_target);
void WriteTargets(cmLocalGenerator* root);
void WriteProjectLine(std::ostream& fout, cmGeneratorTarget const* target,
- cmLocalGenerator* root, std::string& rootBinaryDir);
+ std::string& rootBinaryDir);
void WriteCustomRuleBOD(std::ostream& fout);
void WriteCustomTargetBOD(std::ostream& fout);
void WriteAllTarget(cmLocalGenerator* root,