diff options
| author | Martin Ridgers <[email protected]> | 2022-01-11 10:30:34 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-11 10:34:30 +0100 |
| commit | 843a7e1a2afce68c3114a508f0df14e842052627 (patch) | |
| tree | c5ae9edcda14540247039c55278dd8efeb0ab16f | |
| parent | Fixed fmt::format() compile error (diff) | |
| download | zen-843a7e1a2afce68c3114a508f0df14e842052627.tar.xz zen-843a7e1a2afce68c3114a508f0df14e842052627.zip | |
Linker flags for zen target on Mac
| -rw-r--r-- | zen/xmake.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zen/xmake.lua b/zen/xmake.lua index a65203666..225a210ff 100644 --- a/zen/xmake.lua +++ b/zen/xmake.lua @@ -15,5 +15,12 @@ target("zen") add_ldflags("/LTCG") end + if is_plat("macosx") then + add_ldflags("-framework CoreFoundation") + add_ldflags("-framework Security") + add_ldflags("-framework SystemConfiguration") + add_syslinks("bsm") + end + add_packages("vcpkg::zstd") add_packages("vcpkg::cxxopts", "vcpkg::mimalloc") |