cmGeneratorTarget: Port GetLinkInterface away from cmTarget.

This commit is contained in:
Stephen Kelly
2015-09-16 04:49:37 +02:00
parent eaa5b9cbb1
commit 922c89014f
5 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -799,7 +799,7 @@ cmExportFileGenerator
{
// Add the transitive link dependencies for this configuration.
cmLinkInterface const* iface = target->GetLinkInterface(config,
target->Target);
target);
if (!iface)
{
return;
@@ -911,7 +911,7 @@ cmExportFileGenerator
// Add the transitive link dependencies for this configuration.
if(cmLinkInterface const* iface =
target->GetLinkInterface(config, target->Target))
target->GetLinkInterface(config, target))
{
this->SetImportLinkProperty(suffix, target,
"IMPORTED_LINK_INTERFACE_LANGUAGES",