ENH: don't put the default framework path in a -F option
This commit is contained in:
parent
974e9d4667
commit
a1f22bde81
|
@ -259,6 +259,8 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder()
|
||||||
cmStdString file;
|
cmStdString file;
|
||||||
std::vector<cmStdString> empty;
|
std::vector<cmStdString> empty;
|
||||||
bool framework = false;
|
bool framework = false;
|
||||||
|
// do not add a -F for the system frameworks
|
||||||
|
this->EmittedFrameworkPaths.insert("/System/Library/Frameworks");
|
||||||
for(unsigned int i=0; i < this->RawLinkItems.size(); ++i)
|
for(unsigned int i=0; i < this->RawLinkItems.size(); ++i)
|
||||||
{
|
{
|
||||||
if(cmSystemTools::FileIsFullPath(this->RawLinkItems[i].c_str()))
|
if(cmSystemTools::FileIsFullPath(this->RawLinkItems[i].c_str()))
|
||||||
|
|
Loading…
Reference in New Issue