From 04a93c3bb56acbece42f8b77c9170436eb7c1721 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 3 Jun 2016 08:39:47 +0200 Subject: [PATCH] CMake: Demote non-matching generator to 'Warning' Default KitChooser behavior is to suppress kits with errors everywhere but non-matching CMake generator settings are irrelevant for both non-CMake using projects and analyzer/debugger tools. Change-Id: Ie60f0f23b5c2423128304227fc573526b7ec2113 Reviewed-by: Tobias Hunger --- src/plugins/cmakeprojectmanager/cmakekitinformation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp index db261d217bf..0f21fe80627 100644 --- a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp +++ b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp @@ -224,7 +224,7 @@ QList CMakeGeneratorKitInformation::validate(const Kit *k) const } else { QStringList known = tool->supportedGenerators(); if (!known.contains(generator)) { - result << Task(Task::Error, tr("CMake Tool does not support the configured generator."), + result << Task(Task::Warning, tr("CMake Tool does not support the configured generator."), Utils::FileName(), -1, Core::Id(Constants::TASK_CATEGORY_BUILDSYSTEM)); } if (!generator.startsWith(QLatin1String("CodeBlocks -"))) {