summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-07-06 19:25:05 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-07-06 19:25:05 (GMT)
commit5aad7d13cb5eb729b4526c0fc7fba1f5cdfd04f8 (patch)
treeb96badc3fbc441c9e25abde696470fe119f1eafd /Source/cmListFileCache.cxx
parentf65b3b0971209591ef5715f73b7a2519661e54bb (diff)
downloadCMake-5aad7d13cb5eb729b4526c0fc7fba1f5cdfd04f8.zip
CMake-5aad7d13cb5eb729b4526c0fc7fba1f5cdfd04f8.tar.gz
CMake-5aad7d13cb5eb729b4526c0fc7fba1f5cdfd04f8.tar.bz2
BUG: project command should also work with lower case
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx2
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;