ENH: Allow user to overwrite Platforms files
This commit is contained in:
parent
d8bada47a6
commit
3abd6306a9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue