summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTryRunCommand.cxx')
-rw-r--r--Source/cmTryRunCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index f8c039e..b7300c8 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -94,7 +94,7 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv)
if (fullPath.size() > 1)
{
std::string finalCommand = fullPath;
- finalCommand = cmSystemTools::ConvertToOutputPath(fullPath.c_str());
+ finalCommand = cmSystemTools::ConvertToRunCommandPath(fullPath.c_str());
if(runArgs.size())
{
finalCommand += runArgs;