diff options
author | Brad King <brad.king@kitware.com> | 2001-09-20 14:54:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-09-20 14:54:29 (GMT) |
commit | 65ef85320a900c620f235fddc17ae2a6068ec75d (patch) | |
tree | 8dc6841de28a34c7536bff6bdf8d217c9f92d8f2 /Source/cmFindFileCommand.cxx | |
parent | ee86c59cba8884879e94361044dd8d4359abfd6e (diff) | |
download | CMake-65ef85320a900c620f235fddc17ae2a6068ec75d.zip CMake-65ef85320a900c620f235fddc17ae2a6068ec75d.tar.gz CMake-65ef85320a900c620f235fddc17ae2a6068ec75d.tar.bz2 |
ENH: Added cmSystemTools::GlobDirs function to allow wildcards in paths (like /foo/bar/*).
Diffstat (limited to 'Source/cmFindFileCommand.cxx')
-rw-r--r-- | Source/cmFindFileCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFindFileCommand.cxx b/Source/cmFindFileCommand.cxx index c3b83c9..7a240fe 100644 --- a/Source/cmFindFileCommand.cxx +++ b/Source/cmFindFileCommand.cxx @@ -76,7 +76,8 @@ bool cmFindFileCommand::InitialPass(std::vector<std::string>& args) // expand variables std::string exp = args[j]; m_Makefile->ExpandVariablesInString(exp); - path.push_back(exp); + // Glob the entry in case of wildcards. + cmSystemTools::GlobDirs(exp.c_str(), path); } // add the standard path |