forked from qt-creator/qt-creator
Fixes: Probably this needs to be for windows.
Details: I haven't checked, but according to the cmake sources I need to change this.
This commit is contained in:
@@ -523,7 +523,7 @@ void CMakeCbpParser::parseTargetOption()
|
|||||||
{
|
{
|
||||||
if (attributes().hasAttribute("output"))
|
if (attributes().hasAttribute("output"))
|
||||||
m_target.executable = attributes().value("output").toString();
|
m_target.executable = attributes().value("output").toString();
|
||||||
else if (attributes().hasAttribute("type") && attributes().value("type") == "1")
|
else if (attributes().hasAttribute("type") && (attributes().value("type") == "1" || attributes().value("type") == "0"))
|
||||||
m_targetType = true;
|
m_targetType = true;
|
||||||
else if (attributes().hasAttribute("working_dir"))
|
else if (attributes().hasAttribute("working_dir"))
|
||||||
m_target.workingDirectory = attributes().value("working_dir").toString();
|
m_target.workingDirectory = attributes().value("working_dir").toString();
|
||||||
|
Reference in New Issue
Block a user