mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
Merge topic 'cpack-pkg-c_str'
1393b31635 cmCPackPKGGenerator: Remove redundant call to c_str
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9759
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user