COMP: Handle both ansi and non-ansi C

This commit is contained in:
Andy Cedilnik
2006-07-26 11:46:22 -04:00
parent 47ef504530
commit a9c0929d39
7 changed files with 31 additions and 4 deletions

View File

@@ -56,6 +56,14 @@ bool cmIncludeDirectoryCommand
tmp += unixPath;
unixPath = tmp;
}
/*
if ( !cmSystemTools::FileExists(unixPath.c_str()) )
{
std::string out = "Cannot find directory: " + unixPath;
this->SetError(out.c_str());
return false;
}
*/
this->Makefile->AddIncludeDirectory(unixPath.c_str(), before);
}
return true;