diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-21 22:08:27 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-21 22:12:18 (GMT) |
commit | a971fcfde79abe9ccf19e77a2a71b9fbfccce439 (patch) | |
tree | 0871b98875cac299462edaed09b6be15413f50d7 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | b7509d6bf8de0af7077da894b124a40fbf73c935 (diff) | |
download | CMake-a971fcfde79abe9ccf19e77a2a71b9fbfccce439.zip CMake-a971fcfde79abe9ccf19e77a2a71b9fbfccce439.tar.gz CMake-a971fcfde79abe9ccf19e77a2a71b9fbfccce439.tar.bz2 |
cmNinjaNormalTargetGenerator: use `cmStrCat`
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 5cc7987..6ec1781 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -64,9 +64,9 @@ void cmNinjaNormalTargetGenerator::Generate(const std::string& config) { std::string lang = this->GeneratorTarget->GetLinkerLanguage(config); if (this->TargetLinkLanguage(config).empty()) { - cmSystemTools::Error("CMake can not determine linker language for " - "target: " + - this->GetGeneratorTarget()->GetName()); + cmSystemTools::Error( + cmStrCat("CMake can not determine linker language for target: ", + this->GetGeneratorTarget()->GetName())); return; } |