summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-08-21 12:54:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-08-21 12:54:14 (GMT)
commitd81a2e4f5e38d57b004d7ff173ae32706e599b92 (patch)
treef5f57922659a816ef49ab8b5bb32d81df57862ae /Source/CPack
parent65ff215c15119c05f7695da2b8f0dcfb6424ba43 (diff)
parent1393b31635704303f30c555d5946383210817fe8 (diff)
downloadCMake-d81a2e4f5e38d57b004d7ff173ae32706e599b92.zip
CMake-d81a2e4f5e38d57b004d7ff173ae32706e599b92.tar.gz
CMake-d81a2e4f5e38d57b004d7ff173ae32706e599b92.tar.bz2
Merge topic 'cpack-pkg-c_str'
1393b31635 cmCPackPKGGenerator: Remove redundant call to c_str Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9759
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackPKGGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackPKGGenerator.cxx b/Source/CPack/cmCPackPKGGenerator.cxx
index 4d60c6c..a64093e 100644
--- a/Source/CPack/cmCPackPKGGenerator.cxx
+++ b/Source/CPack/cmCPackPKGGenerator.cxx
@@ -434,7 +434,7 @@ bool cmCPackPKGGenerator::CopyResourcePlistFile(const std::string& name,
}
std::string inFName = cmStrCat("CPack.", name, ".in");
- std::string inFileName = this->FindTemplate(inFName.c_str());
+ std::string inFileName = this->FindTemplate(inFName);
if (inFileName.empty()) {
cmCPackLogger(cmCPackLog::LOG_ERROR,
"Cannot find input file: " << inFName << std::endl);