mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
expands reg values
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user