summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-09 21:58:19 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-19 18:27:41 (GMT)
commit88d10d55ac68f2251a549cf09292af8a1fb66ba3 (patch)
tree3305c9e61c5a26051b6e2bd8526a0bd8ba00d821 /Source/cmExportFileGenerator.cxx
parentb5f5de70c0b754010f151cde75783a2cc62db835 (diff)
downloadCMake-88d10d55ac68f2251a549cf09292af8a1fb66ba3.zip
CMake-88d10d55ac68f2251a549cf09292af8a1fb66ba3.tar.gz
CMake-88d10d55ac68f2251a549cf09292af8a1fb66ba3.tar.bz2
cmGeneratorTarget: Copy IsAppBundleOnApple 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 132c0b5..9bdf2f5 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -1089,7 +1089,7 @@ cmExportFileGenerator
}
// Mark the imported executable if it is an application bundle.
- if(target->Target->IsAppBundleOnApple())
+ if(target->IsAppBundleOnApple())
{
os << "set_property(TARGET " << targetName
<< " PROPERTY MACOSX_BUNDLE 1)\n";