aboutsummaryrefslogtreecommitdiff
path: root/zenserver
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2022-01-11 13:28:38 +0100
committerPer Larsson <[email protected]>2022-01-11 13:28:38 +0100
commit60e7570b6a878397f5c17be48d994846e36b3f47 (patch)
tree0cc79f499b79b85480df51018c70230fe6a83009 /zenserver
parentFixed missing content type when storing cache values. (diff)
parentLinker flags for zen target on Mac (diff)
downloadzen-60e7570b6a878397f5c17be48d994846e36b3f47.tar.xz
zen-60e7570b6a878397f5c17be48d994846e36b3f47.zip
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zenserver')
-rw-r--r--zenserver/xmake.lua26
1 files changed, 17 insertions, 9 deletions
diff --git a/zenserver/xmake.lua b/zenserver/xmake.lua
index 339afbfe5..d6ef47a53 100644
--- a/zenserver/xmake.lua
+++ b/zenserver/xmake.lua
@@ -18,19 +18,27 @@ target("zenserver")
del_files("windows/**")
end
+ if is_plat("macosx") then
+ add_ldflags("-framework CoreFoundation")
+ add_ldflags("-framework CoreGraphics")
+ add_ldflags("-framework CoreText")
+ add_ldflags("-framework Foundation")
+ add_ldflags("-framework Security")
+ add_ldflags("-framework SystemConfiguration")
+ add_syslinks("bsm")
+ end
+
add_options("vfs")
add_options("compute")
add_packages(
- "vcpkg::sentry-native",
- "vcpkg::sol2",
- "vcpkg::lua",
"vcpkg::asio",
- "vcpkg::json11",
+ "vcpkg::cxxopts",
"vcpkg::http-parser",
- "vcpkg::rocksdb"
+ "vcpkg::json11",
+ "vcpkg::lua",
+ "vcpkg::mimalloc",
+ "vcpkg::rocksdb",
+ "vcpkg::sentry-native",
+ "vcpkg::sol2"
)
-
- add_packages(
- "vcpkg::cxxopts",
- "vcpkg::mimalloc")