Skip to content
Snippets Groups Projects
Commit d7c9f3de authored by Daniel Teske's avatar Daniel Teske
Browse files

CMake: Fix crash in makestep if used in the deploystep list


Task-number: QTCREATORBUG-7427
Change-Id: I8cc1e49e87d38c1a789bf3dee25b62668efc433d
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent ac430542
No related branches found
No related tags found
No related merge requests found
......@@ -132,6 +132,8 @@ bool MakeStep::fromMap(const QVariantMap &map)
bool MakeStep::init()
{
CMakeBuildConfiguration *bc = cmakeBuildConfiguration();
if (!bc)
bc = static_cast<CMakeBuildConfiguration *>(target()->activeBuildConfiguration());
QString arguments = Utils::QtcProcess::joinArgs(m_buildTargets);
Utils::QtcProcess::addArgs(&arguments, additionalArguments());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment