aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorDmytro Ivanov <[email protected]>2024-09-27 16:58:24 +0200
committerGitHub Enterprise <[email protected]>2024-09-27 16:58:24 +0200
commit8550c4a50fec41df6f15551136ea2189eeae744a (patch)
tree39a0bb4b7a8a5d22b27dc1356b50337c6e723f9d /xmake.lua
parentwork around issues compiling fmt::join call on mac (#170) (diff)
downloadzen-8550c4a50fec41df6f15551136ea2189eeae744a.tar.xz
zen-8550c4a50fec41df6f15551136ea2189eeae744a.zip
Fixing compilation errors with fmt v11 (#172)
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index a82ee337e..4d04506c6 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -66,6 +66,10 @@ else
add_defines("ZEN_WITH_TESTS=0")
end
+-- fmt 11+ requires utf-8 when using unicode
+set_encodings("utf-8")
+set_encodings("source:utf-8", "target:utf-8")
+
if is_os("windows") then
add_defines(
"_CRT_SECURE_NO_WARNINGS",