Commit 952c2f2d authored by Bill Hoffman's avatar Bill Hoffman
Browse files

add project command even if inheriting

parent 332fb964
......@@ -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)
cmSystemTools::GetFilenameName(filename)) == "cmakelists.txt")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment