Browse Source

improve fmt

ruki 4 years ago
parent
commit
c802d49ba0
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/f/fmt/xmake.lua

+ 3 - 1
packages/f/fmt/xmake.lua

@@ -11,7 +11,9 @@ package("fmt")
 
     add_configs("header_only", {description = "Use header only version.", default = false, type = "boolean"})
 
-    add_extsources("brew::fmt")
+    if is_plat("macosx") then
+        add_extsources("brew::fmt")
+    end
 
     on_load(function (package)
         if package:config("header_only") then