Merge topic 'framework-with-space'
e74f374 Fix linking to OS X Frameworks named with spaces (#12550)
This commit is contained in:
commit
a985a9e0f7
@ -1318,8 +1318,9 @@ void cmComputeLinkInformation::AddFrameworkItem(std::string const& item)
|
|||||||
this->AddFrameworkPath(this->SplitFramework.match(1));
|
this->AddFrameworkPath(this->SplitFramework.match(1));
|
||||||
|
|
||||||
// Add the item using the -framework option.
|
// Add the item using the -framework option.
|
||||||
std::string fw = "-framework ";
|
this->Items.push_back(Item("-framework", false));
|
||||||
fw += this->SplitFramework.match(2);
|
std::string fw = this->SplitFramework.match(2);
|
||||||
|
fw = this->LocalGenerator->EscapeForShell(fw.c_str());
|
||||||
this->Items.push_back(Item(fw, false));
|
this->Items.push_back(Item(fw, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user