diff options
-rw-r--r-- | Source/cmListFileCache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx index cf3e148..35a596d 100644 --- a/Source/cmListFileCache.cxx +++ b/Source/cmListFileCache.cxx @@ -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; |