BUG: Fix call to SetFileTime to set it on the proper file.
This commit is contained in:
parent
89dc3b0753
commit
23c6b90080
@ -2049,7 +2049,7 @@ bool cmSystemTools::CopyFileTime(const char* fromFile, const char* toFile)
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(!SetFileTime(hFrom, &timeCreation, &timeLastAccess, &timeLastWrite))
|
if(!SetFileTime(hTo, &timeCreation, &timeLastAccess, &timeLastWrite))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user