diff --git a/SystemTools.cxx b/SystemTools.cxx index 7036537f9850faa64db18715ac60b3e341729299..af525bf40b52f3d44ba5ec9cb22af79186fa2cae 100644 --- a/SystemTools.cxx +++ b/SystemTools.cxx @@ -1956,7 +1956,7 @@ kwsys_stl::string SystemTools::FindProgram( it != names.end() ; ++it) { // Try to find the program. - std::string result = SystemTools::FindProgram(it->c_str(), + kwsys_stl::string result = SystemTools::FindProgram(it->c_str(), path, noSystemPath); return result;