add project command even if inheriting
This commit is contained in:
parent
332fb964e7
commit
952c2f2d64
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user