forked from qt-creator/qt-creator
CMake: Fix building on current executable target
Task-number: QTCREATORBUG-20763 Change-Id: Ie25c0993c1c2051de3f6a15fca56b56caaa04b00 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -365,7 +365,7 @@ QString CMakeBuildStep::allArguments(const CMakeRunConfiguration *rc) const
|
||||
|
||||
if (isCurrentExecutableTarget(m_buildTarget)) {
|
||||
if (rc)
|
||||
target = rc->buildKey();
|
||||
target = rc->buildKey().section('\n', 0, 0);
|
||||
else
|
||||
target = "<i><" + tr(ADD_RUNCONFIGURATION_TEXT) + "></i>";
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user