summaryrefslogtreecommitdiff
path: root/Source/cmOSXBundleGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 14:59:06 +0200
committerBrad King <brad.king@kitware.com>2015-06-22 13:23:46 -0400
commite77142350de1dec03ca788e3d3e278b7b9358fb5 (patch)
treed3e50ef3ef2352753a429010f0a09d2227fe7393 /Source/cmOSXBundleGenerator.cxx
parent5aa556be560b782d149b53bccc12dfc2be2bda0b (diff)
downloadcmake-e77142350de1dec03ca788e3d3e278b7b9358fb5.tar.gz
Get the local generator from the GeneratorTarget.
The Makefile should not know the LocalGenerator at all
Diffstat (limited to 'Source/cmOSXBundleGenerator.cxx')
-rw-r--r--Source/cmOSXBundleGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOSXBundleGenerator.cxx b/Source/cmOSXBundleGenerator.cxx
index a8eef82445..3bc0eb734f 100644
--- a/Source/cmOSXBundleGenerator.cxx
+++ b/Source/cmOSXBundleGenerator.cxx
@@ -22,7 +22,7 @@ cmOSXBundleGenerator(cmGeneratorTarget* target,
const std::string& configName)
: GT(target)
, Makefile(target->Target->GetMakefile())
- , LocalGenerator(Makefile->GetLocalGenerator())
+ , LocalGenerator(target->GetLocalGenerator())
, ConfigName(configName)
, MacContentFolders(0)
{