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:
dt
2009-01-16 13:47:40 +01:00
parent 33da8c0410
commit ad2fd37b85

View File

@@ -523,7 +523,7 @@ void CMakeCbpParser::parseTargetOption()
{
if (attributes().hasAttribute("output"))
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;
else if (attributes().hasAttribute("working_dir"))
m_target.workingDirectory = attributes().value("working_dir").toString();