mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
ENH: bad bug bad
This commit is contained in:
@@ -3379,7 +3379,7 @@ bool SystemTools::LocateFileInDir(const char *filename,
|
||||
}
|
||||
temp += filename_base;
|
||||
|
||||
if (SystemTools::FileExists(filename_found.c_str()))
|
||||
if (SystemTools::FileExists(temp.c_str()))
|
||||
{
|
||||
res = true;
|
||||
filename_found = temp;
|
||||
|
||||
Reference in New Issue
Block a user