summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 7aad788..a0cc6b0 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -314,8 +314,7 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external)
// one, then cmake will provide one via the
// cmListFileCache class.
bool requireProjectCommand = false;
- if(!m_Inheriting && !external
- && m_cmCurrentDirectory == m_cmHomeDirectory)
+ if(!external && m_cmCurrentDirectory == m_cmHomeDirectory)
{
if(cmSystemTools::LowerCase(
cmSystemTools::GetFilenameName(filename)) == "cmakelists.txt")