diff --git a/Source/cmFileCopier.cxx b/Source/cmFileCopier.cxx index b5104004a6..a036ec6036 100644 --- a/Source/cmFileCopier.cxx +++ b/Source/cmFileCopier.cxx @@ -618,7 +618,7 @@ bool cmFileCopier::InstallFile(std::string const& fromFile, // Copy the file. if (copy) { - auto copy_status = cmSystemTools::CopyAFile(fromFile, toFile, true); + auto copy_status = cmSystemTools::CopyAFile(fromFile, toFile); if (!copy_status) { std::ostringstream e; e << this->Name << " cannot copy file \"" << fromFile << "\" to \""