Commit a54056da authored by Friedemann Kleint's avatar Friedemann Kleint

CMakeProjectManager: Windows build fix.

Profile p -> Kit k in #ifdef Q_OS_WIN.

Change-Id: I6701b7c4c68770323d7b66ba2058861aa16f1cdc
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
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);
#else
if (cachedGenerator.isEmpty() || cachedGenerator == "Unix Makefiles")
m_generatorComboBox->addItem(tr("Unix Generator (%1)").arg(k->displayName()), kitVariant);
......
Markdown is supported
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