diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-14 17:45:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-14 17:45:40 (GMT) |
commit | c83591e81876505396a6a46cee39e32d5d289f4c (patch) | |
tree | 4e35b8696e04057c3e04f49511d4b9c130836eff /Source/cmake.cxx | |
parent | 14715ce8137ffdcefbb9b23418c19aa5a1ed0407 (diff) | |
download | CMake-c83591e81876505396a6a46cee39e32d5d289f4c.zip CMake-c83591e81876505396a6a46cee39e32d5d289f4c.tar.gz CMake-c83591e81876505396a6a46cee39e32d5d289f4c.tar.bz2 |
Fix for Bug #9190, -U did not work on case insensitive file systems because of call to glob convert to regex that expected to work with files.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index a3555b9..ba16d3b 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -416,7 +416,7 @@ bool cmake::SetCacheArgs(const std::vector<std::string>& args) } } cmsys::RegularExpression regex( - cmsys::Glob::PatternToRegex(entryPattern.c_str(), true).c_str()); + cmsys::Glob::PatternToRegex(entryPattern.c_str(), true, true).c_str()); //go through all cache entries and collect the vars which will be removed std::vector<std::string> entriesToDelete; cmCacheManager::CacheIterator it = |