summaryrefslogtreecommitdiff
path: root/Source/CPack
diff options
context:
space:
mode:
authorRahul Gottipati <rahul.blr97@gmail.com>2020-06-25 19:06:25 +0530
committerBrad King <brad.king@kitware.com>2020-06-30 11:20:41 -0400
commit27b03281e2028d8239c3f7e43ea67f30a70dc42b (patch)
tree932b13ea34f2256e7d3400d5264cbf39b28f7096 /Source/CPack
parentf2b84d24cfccf49b6332cf3f2ca164fd71ae023e (diff)
downloadcmake-27b03281e2028d8239c3f7e43ea67f30a70dc42b.tar.gz
configure_file: Add option to control file permissions transfer to copy
Issue: #20866
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index 7990504fd4..fd8149503c 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -1326,7 +1326,7 @@ bool cmCPackGenerator::ConfigureFile(const std::string& inName,
bool copyOnly /* = false */)
{
return this->MakefileMap->ConfigureFile(inName, outName, copyOnly, true,
- false) == 1;
+ false, true) == 1;
}
int cmCPackGenerator::CleanTemporaryDirectory()