Commit 81ffd984 authored by Tim Jenssen's avatar Tim Jenssen Committed by Tobias Hunger

fix msvc2013 builds

Change-Id: I80771fa02a0817c835eebbf0f550536ecacbd98c
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 91d9daa5
......@@ -168,7 +168,7 @@ QVariantMap CMakeBuildStep::toMap() const
bool CMakeBuildStep::fromMap(const QVariantMap &map)
{
if (map.value(QLatin1String(CLEAN_KEY), false).toBool()) {
m_buildTargets = QStringList({ CMakeBuildStep::cleanTarget() });
m_buildTargets = {CMakeBuildStep::cleanTarget()};
} else {
m_buildTargets = map.value(QLatin1String(BUILD_TARGETS_KEY)).toStringList();
m_additionalArguments = map.value(QLatin1String(ADDITIONAL_ARGUMENTS_KEY)).toString();
......
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