mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
cmAddCustomCommandCommand: use cmStrCat
This commit is contained in:
@@ -189,8 +189,8 @@ bool cmAddCustomCommandCommand(std::vector<std::string> const& args,
|
|||||||
} else if (copy == keyDEPFILE) {
|
} else if (copy == keyDEPFILE) {
|
||||||
doing = doing_depfile;
|
doing = doing_depfile;
|
||||||
if (!mf.GetGlobalGenerator()->SupportsCustomCommandDepfile()) {
|
if (!mf.GetGlobalGenerator()->SupportsCustomCommandDepfile()) {
|
||||||
status.SetError("Option DEPFILE not supported by " +
|
status.SetError(cmStrCat("Option DEPFILE not supported by ",
|
||||||
mf.GetGlobalGenerator()->GetName());
|
mf.GetGlobalGenerator()->GetName()));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (copy == keyJOB_POOL) {
|
} else if (copy == keyJOB_POOL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user