Merge topic 'osx-CFBundleExecutable'
78ec4b16 OS X: Shorten CFBundleExecutable to file name only
This commit is contained in:
commit
f67b8065f6
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user