BUG: Fixed typo in name of MSVC 8 registry key.

This commit is contained in:
Brad King 2004-08-04 10:00:39 -04:00
parent 87cab828b6
commit 743eed068c
2 changed files with 2 additions and 2 deletions

View File

@ -322,7 +322,7 @@ BOOL CMakeSetupDialog::OnInitDialog()
{ {
// check for vs7 in registry then decide what default to use // check for vs7 in registry then decide what default to use
std::string mp; std::string mp;
mp = "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path"; mp = "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path]";
cmSystemTools::ExpandRegistryValues(mp); cmSystemTools::ExpandRegistryValues(mp);
if(mp != "/registry") if(mp != "/registry")
{ {

View File

@ -1033,7 +1033,7 @@ int cmake::Configure()
this->SetGlobalGenerator(new cmGlobalBorlandMakefileGenerator); this->SetGlobalGenerator(new cmGlobalBorlandMakefileGenerator);
#elif defined(_WIN32) && !defined(__CYGWIN__) #elif defined(_WIN32) && !defined(__CYGWIN__)
std::string installedCompiler; std::string installedCompiler;
std::string mp = "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path"; std::string mp = "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path]";
cmSystemTools::ExpandRegistryValues(mp); cmSystemTools::ExpandRegistryValues(mp);
if (!(mp == "/registry")) if (!(mp == "/registry"))
{ {