summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-11 15:07:05 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-11 15:07:05 (GMT)
commitdbfc72c6b515e65d9a85dfe0b38a27225a46cf69 (patch)
tree6c40375194192fb423d26926b60d8aa328d06fa2 /Source/cmFindProgramCommand.cxx
parent639f1fa2392345be8afbdb1d0866d342d5923bbf (diff)
downloadCMake-dbfc72c6b515e65d9a85dfe0b38a27225a46cf69.zip
CMake-dbfc72c6b515e65d9a85dfe0b38a27225a46cf69.tar.gz
CMake-dbfc72c6b515e65d9a85dfe0b38a27225a46cf69.tar.bz2
expands reg values
Diffstat (limited to 'Source/cmFindProgramCommand.cxx')
-rw-r--r--Source/cmFindProgramCommand.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx
index 2dcaf14..92d4bb3 100644
--- a/Source/cmFindProgramCommand.cxx
+++ b/Source/cmFindProgramCommand.cxx
@@ -91,6 +91,7 @@ bool cmFindProgramCommand::Invoke(std::vector<std::string>& args)
}
else
{
+ cmSystemTools::ExpandRegistryValues(args[j]);
path.push_back(args[j]);
}
}
@@ -107,6 +108,7 @@ bool cmFindProgramCommand::Invoke(std::vector<std::string>& args)
// expand variables
std::string exp = args[j];
m_Makefile->ExpandVariablesInString(exp);
+ cmSystemTools::ExpandRegistryValues(exp);
path.push_back(exp);
}
}