CMake: Do not sort nodes

The project tree will sort the nodes as needed, so there is no
need to sort the list beforehand.

Change-Id: I1ee71100aba003117c918c5295224ec1253dc807
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Tobias Hunger
2018-05-03 11:23:17 +02:00
parent 2df36926f5
commit 887d1f17a1

View File

@@ -456,8 +456,6 @@ void TeaLeafReader::extractData()
}))
m_files.emplace_back(std::make_unique<FileNode>(topCMake, FileType::Project, false));
Utils::sort(m_files, &Node::sortByPath);
m_buildTargets = cbpparser.buildTargets();
}