Skip to content

Commit

Permalink
spdlog: only add '/utf-8' when not use std_format
Browse files Browse the repository at this point in the history
  • Loading branch information
wsw0108 authored Jan 17, 2025
1 parent e76d08c commit 6931c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/s/spdlog/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ package("spdlog")
end)

on_install(function (package)
if package:has_tool("cxx", "cl") and not (package:config("fmt_external") or package:config("fmt_external_ho")) then
if package:has_tool("cxx", "cl") and not package:config("std_format") and not (package:config("fmt_external") or package:config("fmt_external_ho")) then
package:add("cxxflags", "/utf-8")
end

Expand Down

0 comments on commit 6931c95

Please sign in to comment.