diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-17 12:54:15 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-18 14:29:30 (GMT) |
commit | 97062ac268d1bcc62a528aea2e22a7dd6f6efa8f (patch) | |
tree | 4f5d7e07e230394cbff32618b534509c2d8e1d9e /Source/cmExportInstallFileGenerator.cxx | |
parent | 6a72b3c84e016d7e540aa3d9b079200b3fb52ab7 (diff) | |
download | CMake-97062ac268d1bcc62a528aea2e22a7dd6f6efa8f.zip CMake-97062ac268d1bcc62a528aea2e22a7dd6f6efa8f.tar.gz CMake-97062ac268d1bcc62a528aea2e22a7dd6f6efa8f.tar.bz2 |
cmInstallTargetGenerator: Port GetInstallFilename to cmGeneratorTarget.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r-- | Source/cmExportInstallFileGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx index da963f3..67697f8 100644 --- a/Source/cmExportInstallFileGenerator.cxx +++ b/Source/cmExportInstallFileGenerator.cxx @@ -399,7 +399,7 @@ cmExportInstallFileGenerator } // Get the target to be installed. - cmTarget* target = itgen->GetTarget()->Target; + cmGeneratorTarget* target = itgen->GetTarget(); // Construct the installed location of the target. std::string dest = itgen->GetDestination(config); @@ -433,7 +433,7 @@ cmExportInstallFileGenerator prop += suffix; // Append the installed file name. - if(target->IsAppBundleOnApple()) + if(target->Target->IsAppBundleOnApple()) { value += itgen->GetInstallFilename(target, config); value += ".app/Contents/MacOS/"; |