summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-14 12:45:13 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-15 14:52:29 (GMT)
commitbd20cc29a20f087348e7724da2cbaf311626dc06 (patch)
treec7bd548a8444390a372c3bfb057804d11b3dae41 /Source/cmake.cxx
parent442cb77bf31c02f83c47167ef9842b7756029227 (diff)
downloadCMake-bd20cc29a20f087348e7724da2cbaf311626dc06.zip
CMake-bd20cc29a20f087348e7724da2cbaf311626dc06.tar.gz
CMake-bd20cc29a20f087348e7724da2cbaf311626dc06.tar.bz2
cmSystemTools: Remove redundant cmCopyFile() and Split()
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index ff6b04b..dd29c0c 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2354,7 +2354,7 @@ int cmake::GetSystemInformation(std::vector<std::string>& args)
outFile += "/CMakeLists.txt";
// Copy file
- if (!cmSystemTools::cmCopyFile(inFile, outFile)) {
+ if (!cmsys::SystemTools::CopyFileAlways(inFile, outFile)) {
std::cerr << "Error copying file \"" << inFile << "\" to \"" << outFile
<< "\".\n";
return 1;