summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-02 18:26:32 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-07 02:10:28 (GMT)
commit204aecdf82aa583b213464411069de4c8d7af64b (patch)
treec00a8d8fc415dc1f24ffe464b6bf1b9d1947adfe /Source
parent3dd6f0a5bc0b6457c82df0b980a8f6ac87d1a6f9 (diff)
downloadCMake-204aecdf82aa583b213464411069de4c8d7af64b.zip
CMake-204aecdf82aa583b213464411069de4c8d7af64b.tar.gz
CMake-204aecdf82aa583b213464411069de4c8d7af64b.tar.bz2
cmGlobalGenerator: Port configure-time code to cmMakefile.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 749ab6e..5266b23 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2821,9 +2821,9 @@ cmGlobalGenerator::AddRuleHash(const std::vector<std::string>& outputs,
}
// Shorten the output name (in expected use case).
- cmLocalGenerator* lg = this->GetLocalGenerators()[0];
- std::string fname = lg->Convert(outputs[0],
- cmLocalGenerator::HOME_OUTPUT);
+ cmOutputConverter converter(this->GetMakefiles()[0]->GetStateSnapshot());
+ std::string fname = converter.Convert(
+ outputs[0], cmLocalGenerator::HOME_OUTPUT);
// Associate the hash with this output.
this->RuleHashes[fname] = hash;