Ignore files under the CMakeFiles directory
This commit is contained in:
parent
fd50f06b21
commit
cf8b15a5c1
|
@ -1793,8 +1793,10 @@ void cmMakefile::CheckForUnused(const char* reason, const char* name) const
|
||||||
if (this->CheckSystemVars ||
|
if (this->CheckSystemVars ||
|
||||||
cmSystemTools::IsSubDirectory(path.c_str(),
|
cmSystemTools::IsSubDirectory(path.c_str(),
|
||||||
this->GetHomeDirectory()) ||
|
this->GetHomeDirectory()) ||
|
||||||
cmSystemTools::IsSubDirectory(path.c_str(),
|
(cmSystemTools::IsSubDirectory(path.c_str(),
|
||||||
this->GetHomeOutputDirectory()))
|
this->GetHomeOutputDirectory()) &&
|
||||||
|
!cmSystemTools::IsSubDirectory(path.c_str(),
|
||||||
|
cmake::GetCMakeFilesDirectory())))
|
||||||
{
|
{
|
||||||
cmOStringStream msg;
|
cmOStringStream msg;
|
||||||
msg << path << ":" << line << ":" <<
|
msg << path << ":" << line << ":" <<
|
||||||
|
|
Loading…
Reference in New Issue