diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-14 12:45:13 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-15 14:52:29 (GMT) |
commit | bd20cc29a20f087348e7724da2cbaf311626dc06 (patch) | |
tree | c7bd548a8444390a372c3bfb057804d11b3dae41 /Source/cmFileCommand.cxx | |
parent | 442cb77bf31c02f83c47167ef9842b7756029227 (diff) | |
download | CMake-bd20cc29a20f087348e7724da2cbaf311626dc06.zip CMake-bd20cc29a20f087348e7724da2cbaf311626dc06.tar.gz CMake-bd20cc29a20f087348e7724da2cbaf311626dc06.tar.bz2 |
cmSystemTools: Remove redundant cmCopyFile() and Split()
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index aa75a8c..aec5a44 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -3756,7 +3756,7 @@ bool cmFileCommand::HandleCreateLinkCommand( // Check if copy-on-error is enabled in the arguments. if (!completed && copyOnErrorArg.IsEnabled()) { - completed = cmSystemTools::cmCopyFile(fileName, newFileName); + completed = cmsys::SystemTools::CopyFileAlways(fileName, newFileName); if (!completed) { result = "Copy failed: " + cmSystemTools::GetLastSystemError(); } |