summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-11 14:53:17 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-11 14:53:17 (GMT)
commit639f1fa2392345be8afbdb1d0866d342d5923bbf (patch)
tree4e594126688fb699d195dfec984ff4909b910b0b /Source/cmFindLibraryCommand.cxx
parent4139f15de65ec1d1670cceb95b4c22b52f5448c3 (diff)
downloadCMake-639f1fa2392345be8afbdb1d0866d342d5923bbf.zip
CMake-639f1fa2392345be8afbdb1d0866d342d5923bbf.tar.gz
CMake-639f1fa2392345be8afbdb1d0866d342d5923bbf.tar.bz2
added registry entry support and windows app support
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);
}
}