diff --git a/packages/f/fmt/xmake.lua b/packages/f/fmt/xmake.lua index 7b5cd1fb874..97b35193dae 100644 --- a/packages/f/fmt/xmake.lua +++ b/packages/f/fmt/xmake.lua @@ -52,7 +52,7 @@ package("fmt") end end if package:is_plat("windows") and package:config("unicode") then - package:add("cxxflags", "/utf-8") + package:add("cxxflags", "/utf-8", {public = true}) end end)