mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
OS X: Shorten CFBundleExecutable to file name only
Shorten the CFBundleExecutable in the PList file of Bundles to the file name only as it is done for Frameworks, too. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
This commit is contained in:
@@ -181,8 +181,9 @@ void cmOSXBundleGenerator::CreateCFBundle(const std::string& targetName,
|
||||
std::string plist = root + "/" +
|
||||
this->GT->Target->GetCFBundleDirectory(this->ConfigName, true);
|
||||
plist += "/Info.plist";
|
||||
std::string name = cmSystemTools::GetFilenameName(targetName);
|
||||
this->LocalGenerator->GenerateAppleInfoPList(this->GT->Target,
|
||||
targetName,
|
||||
name,
|
||||
plist.c_str());
|
||||
this->Makefile->AddCMakeOutputFile(plist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user