BUG: When MACOSX_PACKAGE_LOCATION specifies Headers/foo we must still create the Headers symlink.
This commit is contained in:
parent
5db84ae9b0
commit
238d9d9e30
|
@ -334,8 +334,13 @@ void cmMakefileTargetGenerator::WriteMacOSXContentRules(cmSourceFile& source,
|
||||||
macdir += pkgloc;
|
macdir += pkgloc;
|
||||||
cmSystemTools::MakeDirectory(macdir.c_str());
|
cmSystemTools::MakeDirectory(macdir.c_str());
|
||||||
|
|
||||||
// Record use of this content location.
|
// Record use of this content location. Only the first level
|
||||||
this->MacContentFolders.insert(pkgloc);
|
// directory is needed.
|
||||||
|
{
|
||||||
|
std::string loc = pkgloc;
|
||||||
|
loc = loc.substr(0, loc.find('/'));
|
||||||
|
this->MacContentFolders.insert(loc);
|
||||||
|
}
|
||||||
|
|
||||||
// Get the input file location.
|
// Get the input file location.
|
||||||
std::string input = source.GetFullPath();
|
std::string input = source.GetFullPath();
|
||||||
|
|
Loading…
Reference in New Issue