mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ENH: Added cmSystemTools::GlobDirs function to allow wildcards in paths (like /foo/bar/*).
This commit is contained in:
@@ -68,8 +68,10 @@ bool cmFindPathCommand::InitialPass(std::vector<std::string>& args)
|
||||
// expand variables
|
||||
std::string exp = args[j];
|
||||
m_Makefile->ExpandVariablesInString(exp);
|
||||
cmSystemTools::ExpandRegistryValues(exp);
|
||||
path.push_back(exp);
|
||||
cmSystemTools::ExpandRegistryValues(exp);
|
||||
|
||||
// Glob the entry in case of wildcards.
|
||||
cmSystemTools::GlobDirs(exp.c_str(), path);
|
||||
}
|
||||
|
||||
// add the standard path
|
||||
|
||||
Reference in New Issue
Block a user