ENH: Allow user to overwrite Platforms files

This commit is contained in:
Ken Martin 2004-08-09 18:39:58 -04:00
parent d8bada47a6
commit 3abd6306a9
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ bool cmIncludeCommand::InitialPass(std::vector<std::string> const& args)
optional = args[1] == "OPTIONAL";
}
if(fname.find("/") == fname.npos)
if(!cmSystemTools::FileIsFullPath(fname.c_str()))
{
// Not a path. Maybe module.
std::string module = fname;