diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-22 08:14:46 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-22 08:57:10 (GMT) |
commit | 9c576a88d95b302882bcb0a021dcf03982a40902 (patch) | |
tree | 37f7179633b02af9328e5d22574ee8effdf31459 /Source/CPack | |
parent | 4b45a5d5c7f9266e5ca08f6d5676759b9aac4235 (diff) | |
download | CMake-9c576a88d95b302882bcb0a021dcf03982a40902.zip CMake-9c576a88d95b302882bcb0a021dcf03982a40902.tar.gz CMake-9c576a88d95b302882bcb0a021dcf03982a40902.tar.bz2 |
Use cmFileTimes instead of cmSystemToolsFileTime interface
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index 127bcf9..7e07ff4 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -15,6 +15,7 @@ #include "cmCryptoHash.h" #include "cmDuration.h" #include "cmFSPermissions.h" +#include "cmFileTimes.h" #include "cmGeneratedFileStream.h" #include "cmGlobalGenerator.h" #include "cmMakefile.h" @@ -388,7 +389,7 @@ int cmCPackGenerator::InstallProjectViaInstalledDirectories( } /* If it is not a symlink then do a plain copy */ else if (!(cmSystemTools::CopyFileIfDifferent(inFile, filePath) && - cmSystemTools::CopyFileTime(inFile, filePath))) { + cmFileTimes::Copy(inFile, filePath))) { cmCPackLogger(cmCPackLog::LOG_ERROR, "Problem copying file: " << inFile << " -> " << filePath << std::endl); |