CMakePM: Remove remainders of extraGenerator

It was not possible to set the toolset for Visual Studio 2022 generator.

Amends 4f26d802ca

Change-Id: I56caf9c0d66812eb599646a3679602af7372f419
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2023-10-20 11:01:59 +02:00
parent fbe9f2c614
commit 32b6e6309e
3 changed files with 5 additions and 8 deletions

View File

@@ -45,9 +45,9 @@ const char CMAKE_INFORMATION_AUTODETECTED[] = "AutoDetected";
const char CMAKE_INFORMATION_DETECTIONSOURCE[] = "DetectionSource";
const char CMAKE_INFORMATION_READERTYPE[] = "ReaderType";
bool CMakeTool::Generator::matches(const QString &n, const QString &ex) const
bool CMakeTool::Generator::matches(const QString &n) const
{
return n == name && (ex.isEmpty() || extraGenerators.contains(ex));
return n == name;
}
namespace Internal {