CMake: Pass STATIC types on cmake execution

Was submitted by mistake for 4.0 (and reverted). Resubmit for master.

Change-Id: Ie3401d009044a46af7fac314d1f29975543a44b0
(cherry picked from commit 0043c721c2)
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2016-05-28 23:10:27 +03:00
committed by Orgad Shaneh
parent b59f9fd0b9
commit 868ec2b6d8

View File

@@ -82,6 +82,9 @@ static QStringList toArguments(const CMakeConfig &config, const ProjectExplorer:
case CMakeConfigItem::INTERNAL:
a.append(QLatin1String(":INTERNAL="));
break;
case CMakeConfigItem::STATIC:
a.append(QLatin1String(":STATIC="));
break;
}
a.append(i.expandedValue(k));