Skip to content
Snippets Groups Projects
Commit ad2fd37b authored by dt's avatar dt
Browse files

Fixes: Probably this needs to be for windows.

Details:  I haven't checked, but according to the cmake sources I need to change this.
parent 33da8c04
No related branches found
No related tags found
No related merge requests found
...@@ -523,7 +523,7 @@ void CMakeCbpParser::parseTargetOption() ...@@ -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();
......
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