diff options
author | Bill Lorensen <lorensen@crd.ge.com> | 2001-09-12 21:09:40 (GMT) |
---|---|---|
committer | Bill Lorensen <lorensen@crd.ge.com> | 2001-09-12 21:09:40 (GMT) |
commit | 275b334f8be1bd06d807ac9a5c1cb4cb66d6e26c (patch) | |
tree | bee04e7a89fb764a049b7d55ac385ebeaa17b223 /Source/cmSiteNameCommand.cxx | |
parent | 1e9fbdc38cad9519024a7302fabefd0d792aa039 (diff) | |
download | CMake-275b334f8be1bd06d807ac9a5c1cb4cb66d6e26c.zip CMake-275b334f8be1bd06d807ac9a5c1cb4cb66d6e26c.tar.gz CMake-275b334f8be1bd06d807ac9a5c1cb4cb66d6e26c.tar.bz2 |
ENH: drop the case of the site name. This makes it consistent with Dart's usage.
Diffstat (limited to 'Source/cmSiteNameCommand.cxx')
-rw-r--r-- | Source/cmSiteNameCommand.cxx | 4 |
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(), |