Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -1224,7 +1224,7 @@ void CMakeCbpParser::parseAdd() ...@@ -1224,7 +1224,7 @@ void CMakeCbpParser::parseAdd()
if (assignIndex != -1) if (assignIndex != -1)
compilerOption[assignIndex] = ' '; compilerOption[assignIndex] = ' ';
m_defines.append("#define "); m_defines.append("#define ");
m_defines.append(compilerOption.mid(macroNameIndex).toLatin1()); m_defines.append(compilerOption.mid(macroNameIndex).toUtf8());
m_defines.append('\n'); m_defines.append('\n');
} }
} }
......
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