summaryrefslogtreecommitdiffstats
path: root/Source/cmSiteNameCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSiteNameCommand.cxx')
-rw-r--r--Source/cmSiteNameCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx
index c6999a1..c629c44 100644
--- a/Source/cmSiteNameCommand.cxx
+++ b/Source/cmSiteNameCommand.cxx
@@ -96,10 +96,10 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string>& args)
cmRegularExpression reg( RegExp.c_str() );
if(reg.find(nsOutput.c_str()))
{
- siteName = reg.match(1);
+ siteName = cmSystemTools::LowerCase(reg.match(1));
}
}
-
+
m_Makefile->
AddCacheDefinition("SITE",
siteName.c_str(),