diff options
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r-- | Source/cmFindLibraryCommand.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx index d2e6dc0..6833a09 100644 --- a/Source/cmFindLibraryCommand.cxx +++ b/Source/cmFindLibraryCommand.cxx @@ -90,6 +90,7 @@ bool cmFindLibraryCommand::Invoke(std::vector<std::string>& args) } else { + cmSystemTools::ExpandRegistryValues(args[j]); path.push_back(args[j]); } } @@ -106,6 +107,7 @@ bool cmFindLibraryCommand::Invoke(std::vector<std::string>& args) // expand variables std::string exp = args[j]; m_Makefile->ExpandVariablesInString(exp); + cmSystemTools::ExpandRegistryValues(exp); path.push_back(exp); } } |