mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
BUG: project command should also work with lower case
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user