Browse Source

BUG: project command should also work with lower case

pull/1/head
Ken Martin 20 years ago
parent
commit
5aad7d13cb
  1. 2
      Source/cmListFileCache.cxx

2
Source/cmListFileCache.cxx

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

Loading…
Cancel
Save