summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r--Source/cmFindLibraryCommand.cxx2
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);
}
}