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) ...@@ -314,8 +314,7 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external)
// one, then cmake will provide one via the // one, then cmake will provide one via the
// cmListFileCache class. // cmListFileCache class.
bool requireProjectCommand = false; bool requireProjectCommand = false;
if(!m_Inheriting && !external if(!external && m_cmCurrentDirectory == m_cmHomeDirectory)
&& m_cmCurrentDirectory == m_cmHomeDirectory)
{ {
if(cmSystemTools::LowerCase( if(cmSystemTools::LowerCase(
cmSystemTools::GetFilenameName(filename)) == "cmakelists.txt") 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