summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-19 19:05:34 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-19 19:06:47 (GMT)
commit5f7386dd19c27690a1187a69f0861faf51899264 (patch)
tree3d7a2453a1238709beea1456acb7b33c4706f9ad /Source/cmCacheManager.cxx
parent0b8524baa68944ee148c8b48b4ee937ab315175d (diff)
parentda26b3be8948471dd2320d1e44af9eb5dfaa0f6a (diff)
downloadCMake-5f7386dd19c27690a1187a69f0861faf51899264.zip
CMake-5f7386dd19c27690a1187a69f0861faf51899264.tar.gz
CMake-5f7386dd19c27690a1187a69f0861faf51899264.tar.bz2
Merge topic 'string-literal-append'
da26b3be89 avoid adding multiple consecutive string literals to std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3698
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 17d4b74..6b61f1b 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -27,8 +27,7 @@ cmCacheManager::cmCacheManager()
void cmCacheManager::CleanCMakeFiles(const std::string& path)
{
std::string glob = path;
- glob += "/CMakeFiles";
- glob += "/*.cmake";
+ glob += "/CMakeFiles/*.cmake";
cmsys::Glob globIt;
globIt.FindFiles(glob);
std::vector<std::string> files = globIt.GetFiles();