forked from qt-creator/qt-creator
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user