diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-17 13:08:13 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-18 14:29:30 (GMT) |
commit | eb3be7d68851ce87354f6bd90e0be3a670d22d56 (patch) | |
tree | dbee37acd61d0d9eabf4f391368abbcdc8995e9c /Source/cmExportBuildFileGenerator.cxx | |
parent | d231c31b98eb80929d9aabf8e606abde39fc08f4 (diff) | |
download | CMake-eb3be7d68851ce87354f6bd90e0be3a670d22d56.zip CMake-eb3be7d68851ce87354f6bd90e0be3a670d22d56.tar.gz CMake-eb3be7d68851ce87354f6bd90e0be3a670d22d56.tar.bz2 |
cmGeneratorTarget: Move GetExportName from cmTarget.
Diffstat (limited to 'Source/cmExportBuildFileGenerator.cxx')
-rw-r--r-- | Source/cmExportBuildFileGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmExportBuildFileGenerator.cxx b/Source/cmExportBuildFileGenerator.cxx index d191e47..781220d 100644 --- a/Source/cmExportBuildFileGenerator.cxx +++ b/Source/cmExportBuildFileGenerator.cxx @@ -48,7 +48,7 @@ bool cmExportBuildFileGenerator::GenerateMainFile(std::ostream& os) { cmGeneratorTarget *te = this->LG ->FindGeneratorTargetToUse(*tei); - expectedTargets += sep + this->Namespace + te->Target->GetExportName(); + expectedTargets += sep + this->Namespace + te->GetExportName(); sep = " "; if(this->ExportedTargets.insert(te).second) { @@ -253,7 +253,7 @@ cmExportBuildFileGenerator::HandleMissingTarget( { std::string missingTarget = namespaces[0]; - missingTarget += dependee->Target->GetExportName(); + missingTarget += dependee->GetExportName(); link_libs += missingTarget; missingTargets.push_back(missingTarget); return; @@ -268,7 +268,7 @@ cmExportBuildFileGenerator::HandleMissingTarget( // Assume the target will be exported by another command. // Append it with the export namespace. link_libs += this->Namespace; - link_libs += dependee->Target->GetExportName(); + link_libs += dependee->GetExportName(); } //---------------------------------------------------------------------------- |