summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.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/cmNinjaNormalTargetGenerator.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/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 4cfbda5..8a4f17e 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -412,7 +412,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
gt.GetFullPath(cfgName,
/*implib=*/true));
- if (target.IsAppBundleOnApple())
+ if (gt.IsAppBundleOnApple())
{
// Create the app bundle
std::string outpath = gt.GetDirectory(cfgName);