cmGeneratorTarget: Copy IsFrameworkOnApple from cmTarget.

Leave the cmTarget method behind for now to implement cmInstallCommand.
This commit is contained in:
Stephen Kelly
2015-10-09 23:57:17 +02:00
parent 8e20ea6ef2
commit b5f5de70c0
10 changed files with 46 additions and 28 deletions
+1 -1
View File
@@ -1082,7 +1082,7 @@ cmExportFileGenerator
}
// Mark the imported library if it is a framework.
if(target->Target->IsFrameworkOnApple())
if(target->IsFrameworkOnApple())
{
os << "set_property(TARGET " << targetName
<< " PROPERTY FRAMEWORK 1)\n";