summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-05-17 17:11:08 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-05-19 19:54:28 (GMT)
commitf1d55ff7e9372236ccf3da54397ed549a177b95a (patch)
treec9babe109ed99557251237d41e0548e3fbd1341b /Source/CPack
parent9daa244e9904e3d80afa149c927a01413e2a6cd0 (diff)
downloadCMake-f1d55ff7e9372236ccf3da54397ed549a177b95a.zip
CMake-f1d55ff7e9372236ccf3da54397ed549a177b95a.tar.gz
CMake-f1d55ff7e9372236ccf3da54397ed549a177b95a.tar.bz2
style: use `cmStrCat` in some more locations
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/IFW/cmCPackIFWGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWGenerator.cxx b/Source/CPack/IFW/cmCPackIFWGenerator.cxx
index 9ca7a69..9dd8fe3 100644
--- a/Source/CPack/IFW/cmCPackIFWGenerator.cxx
+++ b/Source/CPack/IFW/cmCPackIFWGenerator.cxx
@@ -468,7 +468,7 @@ std::string cmCPackIFWGenerator::GetComponentInstallDirNameSuffix(
const std::string suffix = "/data";
if (this->componentPackageMethod == this->ONE_PACKAGE) {
- return std::string(prefix + this->GetRootPackageName() + suffix);
+ return cmStrCat(prefix, this->GetRootPackageName(), suffix);
}
return prefix +