diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-09 21:59:10 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-19 18:27:41 (GMT) |
commit | d8f8940bc68f09e382320d1ffe36947ba880ae65 (patch) | |
tree | 508c10de687d7a9e244e1253b122a9e71562c548 /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | 7550879f570502f31aeafbd48f04bafd17234696 (diff) | |
download | CMake-d8f8940bc68f09e382320d1ffe36947ba880ae65.zip CMake-d8f8940bc68f09e382320d1ffe36947ba880ae65.tar.gz CMake-d8f8940bc68f09e382320d1ffe36947ba880ae65.tar.bz2 |
cmGeneratorTarget: Move IsCFBundleOnApple from cmTarget.
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index 015c880..df2a8c9 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -279,7 +279,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules this->OSXBundleGenerator->CreateFramework(targetName, outpath); outpath += "/"; } - else if(this->Target->IsCFBundleOnApple()) + else if(this->GeneratorTarget->IsCFBundleOnApple()) { outpath = this->GeneratorTarget->GetDirectory(this->ConfigName); this->OSXBundleGenerator->CreateCFBundle(targetName, outpath); @@ -360,7 +360,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules buildEcho += " shared library "; break; case cmState::MODULE_LIBRARY: - if (this->Target->IsCFBundleOnApple()) + if (this->GeneratorTarget->IsCFBundleOnApple()) buildEcho += " CFBundle"; buildEcho += " shared module "; break; |