Commit 748e1a36 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: remove bogus warning about not finding a depend file, if there are no include paths

parent d4666648
......@@ -241,13 +241,13 @@ void cmDependInformation::MergeInfo(cmDependInformation* info)
// find the full path to fname by searching the m_IncludeDirectories array
std::string cmMakeDepend::FullPath(const char* fname)
{
if(cmSystemTools::FileExists(fname))
{
return std::string(fname);
}
for(std::vector<std::string>::iterator i = m_IncludeDirectories.begin();
i != m_IncludeDirectories.end(); ++i)
{
if(cmSystemTools::FileExists(fname))
{
return std::string(fname);
}
std::string path = *i;
path = path + "/";
path = path + fname;
......
Markdown is supported
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