Commit e088adfc authored by Daniel Teske's avatar Daniel Teske Committed by Eike Ziller
Browse files

CMake: Correct encoding of defines



Change-Id: I8c5049ce52d20137dc4233c09ab68aaa07df7fe7
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 82679ff6
......@@ -1224,7 +1224,7 @@ void CMakeCbpParser::parseAdd()
if (assignIndex != -1)
compilerOption[assignIndex] = ' ';
m_defines.append("#define ");
m_defines.append(compilerOption.mid(macroNameIndex).toLatin1());
m_defines.append(compilerOption.mid(macroNameIndex).toUtf8());
m_defines.append('\n');
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment