Enable utf8 literals for MSVC.
This commit is contained in:
parent
7a8d18569a
commit
973f4d6b0d
|
@ -817,9 +817,11 @@ Module {
|
|||
|
||||
cpp.cxxFlags: {
|
||||
var flags = debugFlags;
|
||||
if (qbs.toolchain.contains("gcc") && enableAddressSanitizer) {
|
||||
if (qbs.toolchain.contains("gcc") && enableAddressSanitizer)
|
||||
flags.push("-fno-omit-frame-pointer");
|
||||
}
|
||||
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
flags.push("/utf-8");
|
||||
return flags;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user