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";
|
optional = args[1] == "OPTIONAL";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(fname.find("/") == fname.npos)
|
if(!cmSystemTools::FileIsFullPath(fname.c_str()))
|
||||||
{
|
{
|
||||||
// Not a path. Maybe module.
|
// Not a path. Maybe module.
|
||||||
std::string module = fname;
|
std::string module = fname;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user