summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-12-02 21:15:36 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-12-02 21:15:36 (GMT)
commit952c2f2d644d24f1f0e1967c7121f38db3f7440b (patch)
tree5e55fbe9a446f828fa5a657097e2ccb902d1c9b2 /Source/cmMakefile.cxx
parent332fb964e7fee02fc7f9dc5cb8aa13069aaad38b (diff)
downloadCMake-952c2f2d644d24f1f0e1967c7121f38db3f7440b.zip
CMake-952c2f2d644d24f1f0e1967c7121f38db3f7440b.tar.gz
CMake-952c2f2d644d24f1f0e1967c7121f38db3f7440b.tar.bz2
add project command even if inheriting
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")