Commit 72054b95 authored by Ken Martin's avatar Ken Martin
Browse files

always convert to output path

parent 9314bb40
......@@ -94,9 +94,9 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv)
if (fullPath.size() > 1)
{
std::string finalCommand = fullPath;
finalCommand = cmSystemTools::ConvertToOutputPath(fullPath.c_str());
if(runArgs.size())
{
finalCommand = cmSystemTools::ConvertToOutputPath(fullPath.c_str());
finalCommand += runArgs;
}
cmSystemTools::RunCommand(finalCommand.c_str(), output, retVal, 0, false);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment