mirror of
https://github.com/reactos/CMake.git
synced 2024-11-26 21:10:29 +00:00
Add support for mac dylib
This commit is contained in:
parent
3697ad6dc7
commit
cabe849c03
@ -1670,6 +1670,14 @@ std::string cmSystemTools::FindLibrary(const char* name,
|
||||
{
|
||||
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
||||
}
|
||||
tryPath = *p;
|
||||
tryPath += "/lib";
|
||||
tryPath += name;
|
||||
tryPath += ".dylib";
|
||||
if(cmSystemTools::FileExists(tryPath.c_str()))
|
||||
{
|
||||
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user