diff options
author | Brad King <brad.king@kitware.com> | 2019-02-25 13:00:00 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-02-25 13:02:07 (GMT) |
commit | 94970cd042963bedd4594d867802880b13fa9f69 (patch) | |
tree | d5e73d5905f0148b10c86649293a9c85f3b6830d /Source/cmExecProgramCommand.cxx | |
parent | ac419931eed3e62cc69762a2a8b8dd76192999c0 (diff) | |
parent | 9dd255548d0a82994da71c3667f3b6668de50ffd (diff) | |
download | CMake-94970cd042963bedd4594d867802880b13fa9f69.zip CMake-94970cd042963bedd4594d867802880b13fa9f69.tar.gz CMake-94970cd042963bedd4594d867802880b13fa9f69.tar.bz2 |
Merge topic 'error-consolidate'
9dd255548d cmSystemTools::Error: consolidate parameters into single std::string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2995
Diffstat (limited to 'Source/cmExecProgramCommand.cxx')
-rw-r--r-- | Source/cmExecProgramCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExecProgramCommand.cxx b/Source/cmExecProgramCommand.cxx index f4a9a9e..36651af 100644 --- a/Source/cmExecProgramCommand.cxx +++ b/Source/cmExecProgramCommand.cxx @@ -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 += " "; |