diff options
author | Tim Blechmann <tim@klingt.org> | 2014-03-25 15:16:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-26 14:52:23 (GMT) |
commit | 90e22f8f713cb90f2020942cc168badedd6176e1 (patch) | |
tree | a0a79edf74c103612d806c952e86ac2de6de3ac0 /Source/cmOSXBundleGenerator.cxx | |
parent | a29ea834de49cfcbf9b28e4403fd45f0c559bb06 (diff) | |
download | CMake-90e22f8f713cb90f2020942cc168badedd6176e1.zip CMake-90e22f8f713cb90f2020942cc168badedd6176e1.tar.gz CMake-90e22f8f713cb90f2020942cc168badedd6176e1.tar.bz2 |
OS X: Fix Info.plist placement in a CFBundle
Fix cmOSXBundleGenerator::CreateCFBundle to place Info.plist under the
same root directory as the rest of the bundle. Without this, Info.plist
was placed into CMAKE_BINARY_DIR, not CMAKE_CURRENT_BINARY_DIR because
the target path was not generated correctly.
Diffstat (limited to 'Source/cmOSXBundleGenerator.cxx')
-rw-r--r-- | Source/cmOSXBundleGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOSXBundleGenerator.cxx b/Source/cmOSXBundleGenerator.cxx index 6f16913..786e6e2 100644 --- a/Source/cmOSXBundleGenerator.cxx +++ b/Source/cmOSXBundleGenerator.cxx @@ -178,7 +178,7 @@ void cmOSXBundleGenerator::CreateCFBundle(const std::string& targetName, // Configure the Info.plist file. Note that it needs the executable name // to be set. - std::string plist = + std::string plist = root + "/" + this->GT->Target->GetCFBundleDirectory(this->ConfigName, true); plist += "/Info.plist"; this->LocalGenerator->GenerateAppleInfoPList(this->GT->Target, |