diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2016-06-19 19:26:40 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2016-07-22 06:16:50 (GMT) |
commit | 134d5c1f7c82698b79d88ba92a7bd98b81dceaec (patch) | |
tree | 64745b8408c1f249d751cec94452a3ea03b57fab /Source/cmGlobalXCodeGenerator.cxx | |
parent | 2b909c08f526536d4dd84dfe68edf22682ae88ca (diff) | |
download | CMake-134d5c1f7c82698b79d88ba92a7bd98b81dceaec.zip CMake-134d5c1f7c82698b79d88ba92a7bd98b81dceaec.tar.gz CMake-134d5c1f7c82698b79d88ba92a7bd98b81dceaec.tar.bz2 |
Honor BUNDLE_EXTENSION also for Frameworks (#14742)
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 52f8da5..b396ea1 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1844,6 +1844,11 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt, std::string fw_version = gtgt->GetFrameworkVersion(); buildSettings->AddAttribute("FRAMEWORK_VERSION", this->CreateString(fw_version)); + const char* ext = gtgt->GetProperty("BUNDLE_EXTENSION"); + if (ext) { + buildSettings->AddAttribute("WRAPPER_EXTENSION", + this->CreateString(ext)); + } std::string plist = this->ComputeInfoPListLocation(gtgt); // Xcode will create the final version of Info.plist at build time, |