ENH: fix compile error on mac
This commit is contained in:
parent
9b42fff02f
commit
9ffabcbb3f
@ -465,8 +465,9 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder()
|
|||||||
#endif
|
#endif
|
||||||
// check to see if the file is a full path or just contains
|
// check to see if the file is a full path or just contains
|
||||||
// a / in it and is a path to something
|
// a / in it and is a path to something
|
||||||
if(cmSystemTools::FileIsFullPath(this->RawLinkItems[i].c_str())
|
cmStdString& item = this->RawLinkItems[i];
|
||||||
|| this->RawLinkItems[i].find("/") != cmStdString.npos)
|
if(cmSystemTools::FileIsFullPath(item.c_str())
|
||||||
|
|| item.find("/") != item.npos)
|
||||||
{
|
{
|
||||||
if(cmSystemTools::FileIsDirectory(this->RawLinkItems[i].c_str()))
|
if(cmSystemTools::FileIsDirectory(this->RawLinkItems[i].c_str()))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user