forked from qt-creator/qt-creator
CMake: Correct encoding of defines
Change-Id: I8c5049ce52d20137dc4233c09ab68aaa07df7fe7 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
82679ff61c
commit
e088adfc26
@@ -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');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user