mirror of
https://github.com/reactos/CMake.git
synced 2025-02-14 16:38:42 +00:00
BUG: look for exe path as well.
This commit is contained in:
parent
e179ddde12
commit
dcf821ad4d
@ -1112,6 +1112,9 @@ std::string cmSystemTools::FindProgram(const char* name,
|
||||
{
|
||||
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
||||
}
|
||||
tryPath = *p;
|
||||
tryPath += "/";
|
||||
tryPath += name;
|
||||
#endif
|
||||
tryPath += cmSystemTools::GetExecutableExtension();
|
||||
if(cmSystemTools::FileExists(tryPath.c_str()) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user