mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
ENH: fix compile error on mac
This commit is contained in:
1 parent
9b42fff02f
commit
9ffabcbb3f
1 file changed
+3
-2
@@ -465,8 +465,9 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder()
|
||||
#endif
|
||||
// check to see if the file is a full path or just contains
|
||||
// a / in it and is a path to something
|
||||
if(cmSystemTools::FileIsFullPath(this->RawLinkItems[i].c_str())
|
||||
|| this->RawLinkItems[i].find("/") != cmStdString.npos)
|
||||
cmStdString& item = this->RawLinkItems[i];
|
||||
if(cmSystemTools::FileIsFullPath(item.c_str())
|
||||
|| item.find("/") != item.npos)
|
||||
{
|
||||
if(cmSystemTools::FileIsDirectory(this->RawLinkItems[i].c_str()))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user