summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmExtraKateGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmExtraKateGenerator.cxx b/Source/cmExtraKateGenerator.cxx
index 0d0b513..0020690 100644
--- a/Source/cmExtraKateGenerator.cxx
+++ b/Source/cmExtraKateGenerator.cxx
@@ -282,9 +282,8 @@ std::string cmExtraKateGenerator::GenerateFilesString(
cmMakefile* makefile = lgen->GetMakefile();
const std::vector<std::string>& listFiles = makefile->GetListFiles();
for (std::string const& listFile : listFiles) {
- tmp = listFile;
- {
- files.insert(tmp);
+ if (listFile.find("/CMakeFiles/") == std::string::npos) {
+ files.insert(listFile);
}
}