diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-28 16:15:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-28 16:15:10 (GMT) |
commit | dcf821ad4d384bf70aaca9eb560a1d1fc28704ed (patch) | |
tree | 8911722b878379c130a261608317e6d5a6102255 /Source | |
parent | e179ddde125a6f3ef324fb5f93162730aa628e20 (diff) | |
download | CMake-dcf821ad4d384bf70aaca9eb560a1d1fc28704ed.zip CMake-dcf821ad4d384bf70aaca9eb560a1d1fc28704ed.tar.gz CMake-dcf821ad4d384bf70aaca9eb560a1d1fc28704ed.tar.bz2 |
BUG: look for exe path as well.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSystemTools.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 52995f6..f3305f4 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1112,6 +1112,9 @@ std::string cmSystemTools::FindProgram(const char* name, { return cmSystemTools::CollapseFullPath(tryPath.c_str()); } + tryPath = *p; + tryPath += "/"; + tryPath += name; #endif tryPath += cmSystemTools::GetExecutableExtension(); if(cmSystemTools::FileExists(tryPath.c_str()) && |