ENH: drop the case of the site name. This makes it consistent with Dart's usage.

This commit is contained in:
Bill Lorensen 2001-09-12 17:09:40 -04:00
parent 1e9fbdc38c
commit 275b334f8b
1 changed files with 2 additions and 2 deletions

View File

@ -96,10 +96,10 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string>& args)
cmRegularExpression reg( RegExp.c_str() ); cmRegularExpression reg( RegExp.c_str() );
if(reg.find(nsOutput.c_str())) if(reg.find(nsOutput.c_str()))
{ {
siteName = reg.match(1); siteName = cmSystemTools::LowerCase(reg.match(1));
} }
} }
m_Makefile-> m_Makefile->
AddCacheDefinition("SITE", AddCacheDefinition("SITE",
siteName.c_str(), siteName.c_str(),