diff options
author | Rahul Gottipati <rahul.blr97@gmail.com> | 2020-06-25 19:06:25 +0530 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-30 11:20:41 -0400 |
commit | 27b03281e2028d8239c3f7e43ea67f30a70dc42b (patch) | |
tree | 932b13ea34f2256e7d3400d5264cbf39b28f7096 /Source/cmLocalGenerator.cxx | |
parent | f2b84d24cfccf49b6332cf3f2ca164fd71ae023e (diff) | |
download | cmake-27b03281e2028d8239c3f7e43ea67f30a70dc42b.tar.gz |
configure_file: Add option to control file permissions transfer to copy
Issue: #20866
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 95caa30e3f..42a5780726 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -3845,7 +3845,7 @@ void cmLocalGenerator::GenerateAppleInfoPList(cmGeneratorTarget* target, cmLGInfoProp(mf, target, "MACOSX_BUNDLE_SHORT_VERSION_STRING"); cmLGInfoProp(mf, target, "MACOSX_BUNDLE_BUNDLE_VERSION"); cmLGInfoProp(mf, target, "MACOSX_BUNDLE_COPYRIGHT"); - mf->ConfigureFile(inFile, fname, false, false, false); + mf->ConfigureFile(inFile, fname, false, false, false, true); } void cmLocalGenerator::GenerateFrameworkInfoPList( @@ -3881,7 +3881,7 @@ void cmLocalGenerator::GenerateFrameworkInfoPList( cmLGInfoProp(mf, target, "MACOSX_FRAMEWORK_IDENTIFIER"); cmLGInfoProp(mf, target, "MACOSX_FRAMEWORK_SHORT_VERSION_STRING"); cmLGInfoProp(mf, target, "MACOSX_FRAMEWORK_BUNDLE_VERSION"); - mf->ConfigureFile(inFile, fname, false, false, false); + mf->ConfigureFile(inFile, fname, false, false, false, true); } namespace { |