From 5aad7d13cb5eb729b4526c0fc7fba1f5cdfd04f8 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 6 Jul 2005 15:25:05 -0400 Subject: BUG: project command should also work with lower case --- Source/cmListFileCache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12