cmInstallTargetGenerator: Port to cmGeneratorTarget.

This commit is contained in:
Stephen Kelly
2015-07-28 19:58:52 +02:00
parent 4e41913f9a
commit a23fcc9558
3 changed files with 50 additions and 38 deletions

View File

@@ -398,7 +398,7 @@ cmExportInstallFileGenerator
}
// Get the target to be installed.
cmTarget* target = itgen->GetTarget();
cmTarget* target = itgen->GetTarget()->Target;
// Construct the installed location of the target.
std::string dest = itgen->GetDestination(config);