diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx index 0643ac683..5b8d0af68 100644 --- a/Source/cmFindLibraryCommand.cxx +++ b/Source/cmFindLibraryCommand.cxx @@ -71,6 +71,7 @@ bool cmFindLibraryCommand::InitialPass(std::vector const& argsIn) } else { + cmSystemTools::ExpandRegistryValues(args[j]); // Glob the entry in case of wildcards. cmSystemTools::GlobDirs(args[j].c_str(), path); }