mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
ENH: bad bug bad
This commit is contained in:
1 parent
35e13b11f3
commit
4e54f93501
1 file changed
+1
-1
@@ -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