BUG: project command should also work with lower case

This commit is contained in:
Ken Martin 2005-07-06 15:25:05 -04:00
parent f65b3b0971
commit 5aad7d13cb
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ bool cmListFileCache::CacheFile(const char* path, bool requireProjectCommand)
= inFile.m_Functions.begin();
i != inFile.m_Functions.end(); ++i)
{
if(i->m_Name == "PROJECT")
if(cmSystemTools::LowerCase(i->m_Name) == "project")
{
hasProject = true;
break;