BUG: Fixed typo in name of MSVC 8 registry key.
This commit is contained in:
parent
87cab828b6
commit
743eed068c
|
@ -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")
|
||||||
{
|
{
|
||||||
|
|
|
@ -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"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue