summaryrefslogtreecommitdiff
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-09 23:57:17 +0200
committerStephen Kelly <steveire@gmail.com>2015-10-19 20:27:41 +0200
commitb5f5de70c0b754010f151cde75783a2cc62db835 (patch)
treec350c97df9ba3cdbaca221e8001fc4eefab44252 /Source/cmExportFileGenerator.cxx
parent8e20ea6ef2258867bd6554536fa7b914f266df96 (diff)
downloadcmake-b5f5de70c0b754010f151cde75783a2cc62db835.tar.gz
cmGeneratorTarget: Copy IsFrameworkOnApple from cmTarget.
Leave the cmTarget method behind for now to implement cmInstallCommand.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index fdc21db7a7..132c0b5d3c 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -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";