mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
BUG: Fix call to SetFileTime to set it on the proper file.
This commit is contained in:
@@ -2049,7 +2049,7 @@ bool cmSystemTools::CopyFileTime(const char* fromFile, const char* toFile)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if(!SetFileTime(hFrom, &timeCreation, &timeLastAccess, &timeLastWrite))
|
||||
if(!SetFileTime(hTo, &timeCreation, &timeLastAccess, &timeLastWrite))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user