Commit a54056da authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

CMakeProjectManager: Windows build fix.

Profile p -> Kit k in #ifdef Q_OS_WIN.

Change-Id: I6701b7c4c68770323d7b66ba2058861aa16f1cdc
Reviewed-by: default avatarFriedemann Kleint <>
parent f8954ab9
......@@ -425,7 +425,7 @@ void CMakeRunPage::initializePage()
} else if (targetAbi.osFlavor() == ProjectExplorer::Abi::WindowsMSysFlavor) {
#ifdef Q_OS_WIN
if (cachedGenerator.isEmpty() || cachedGenerator == "MinGW Makefiles")
m_generatorComboBox->addItem(tr("MinGW Generator (%1)").arg(p->displayName()), kitVariant);
m_generatorComboBox->addItem(tr("MinGW Generator (%1)").arg(k->displayName()), kitVariant);
if (cachedGenerator.isEmpty() || cachedGenerator == "Unix Makefiles")
m_generatorComboBox->addItem(tr("Unix Generator (%1)").arg(k->displayName()), kitVariant);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment