diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-02 18:26:32 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-07 02:10:28 (GMT) |
commit | 204aecdf82aa583b213464411069de4c8d7af64b (patch) | |
tree | c00a8d8fc415dc1f24ffe464b6bf1b9d1947adfe /Source/cmGlobalGenerator.cxx | |
parent | 3dd6f0a5bc0b6457c82df0b980a8f6ac87d1a6f9 (diff) | |
download | CMake-204aecdf82aa583b213464411069de4c8d7af64b.zip CMake-204aecdf82aa583b213464411069de4c8d7af64b.tar.gz CMake-204aecdf82aa583b213464411069de4c8d7af64b.tar.bz2 |
cmGlobalGenerator: Port configure-time code to cmMakefile.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 6 |
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; |