diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-06 15:51:07 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-27 19:59:03 (GMT) |
commit | 57f03e59ba92989aaf3600399f11ffb308cc663e (patch) | |
tree | fd6649c99b9153d7edd67d5444d8007720b37fba /Source/cmExportInstallFileGenerator.cxx | |
parent | 57ab0f70b50e8c308f12248494fcc233e83210a4 (diff) | |
download | CMake-57f03e59ba92989aaf3600399f11ffb308cc663e.zip CMake-57f03e59ba92989aaf3600399f11ffb308cc663e.tar.gz CMake-57f03e59ba92989aaf3600399f11ffb308cc663e.tar.bz2 |
Port some of the cmExportFileGenerator API to cmGeneratorTarget.
Enough to make it more possible to move GetLinkInterface
to cmGeneratorTarget.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r-- | Source/cmExportInstallFileGenerator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx index 89c6ca2..6c7d97e 100644 --- a/Source/cmExportInstallFileGenerator.cxx +++ b/Source/cmExportInstallFileGenerator.cxx @@ -358,12 +358,14 @@ cmExportInstallFileGenerator if(!properties.empty()) { // Get the rest of the target details. + cmGeneratorTarget *gtgt = te->Target->GetMakefile()->GetLocalGenerator() + ->GetGlobalGenerator()->GetGeneratorTarget(te->Target); this->SetImportDetailProperties(config, suffix, - te->Target, properties, missingTargets); + gtgt, properties, missingTargets); this->SetImportLinkInterface(config, suffix, cmGeneratorExpression::InstallInterface, - te->Target, properties, missingTargets); + gtgt, properties, missingTargets); // TOOD: PUBLIC_HEADER_LOCATION // This should wait until the build feature propagation stuff |