mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Merge topic 'error-consolidate'
9dd255548d cmSystemTools::Error: consolidate parameters into single std::string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2995
This commit is contained in:
@@ -152,7 +152,7 @@ bool cmExecProgramCommand::RunCommand(const char* command, std::string& output,
|
||||
if (!cmSystemTools::FileExists(cmd)) {
|
||||
shortCmd = cmd;
|
||||
} else if (!cmSystemTools::GetShortPath(cmd.c_str(), shortCmd)) {
|
||||
cmSystemTools::Error("GetShortPath failed for ", cmd.c_str());
|
||||
cmSystemTools::Error("GetShortPath failed for " + cmd);
|
||||
return false;
|
||||
}
|
||||
shortCmd += " ";
|
||||
|
||||
Reference in New Issue
Block a user