diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-11-01 16:35:13 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-11-01 16:53:56 (GMT) |
commit | 45eff9145e82a4b1cd29396250b5235e10c4dd47 (patch) | |
tree | 2e78e0e50ff108021d110ca5e4e1f770ef38d91f /Source/cmAddCustomCommandCommand.cxx | |
parent | c6445c615b5eb75923f87d61b1b19dac5f023ad5 (diff) | |
download | CMake-45eff9145e82a4b1cd29396250b5235e10c4dd47.zip CMake-45eff9145e82a4b1cd29396250b5235e10c4dd47.tar.gz CMake-45eff9145e82a4b1cd29396250b5235e10c4dd47.tar.bz2 |
cmAddCustomCommandCommand: use `cmStrCat`
Diffstat (limited to 'Source/cmAddCustomCommandCommand.cxx')
-rw-r--r-- | Source/cmAddCustomCommandCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx index b1589ff..ea97287 100644 --- a/Source/cmAddCustomCommandCommand.cxx +++ b/Source/cmAddCustomCommandCommand.cxx @@ -189,8 +189,8 @@ bool cmAddCustomCommandCommand(std::vector<std::string> const& args, } else if (copy == keyDEPFILE) { doing = doing_depfile; if (!mf.GetGlobalGenerator()->SupportsCustomCommandDepfile()) { - status.SetError("Option DEPFILE not supported by " + - mf.GetGlobalGenerator()->GetName()); + status.SetError(cmStrCat("Option DEPFILE not supported by ", + mf.GetGlobalGenerator()->GetName())); return false; } } else if (copy == keyJOB_POOL) { |