Commit d63186d6 authored by Tobias Hunger's avatar Tobias Hunger

CMake: Fix build again.

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